Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add regression tests for pay leave for parents #1986

Merged
merged 6 commits into from
Oct 15, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion lib/smart_answer_test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def source_files_have_changed?
changed_files.any?
end

def explicitly_run_this_regression_test?
public def explicitly_run_this_regression_test?
ENV['RUN_REGRESSION_TESTS'] == @flow_name
end

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


The mother can’t get maternity leave or pay, paternity leave or pay, or shared parental leave or pay.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


The mother can’t get maternity leave or pay, paternity leave or pay, or shared parental leave or pay.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


The mother can’t get maternity leave or pay, paternity leave or pay, or shared parental leave or pay.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@


##Maternity allowance

The mother can get [maternity allowance](/maternity-allowance) from the government for up to 39 weeks.

###Dates and amounts

Maternity allowance can start on | 13 November 2011




Weekly rate (between 6 April 2015 and 5 April 2016) | £139.58, or 90% of her average weekly earnings (whichever is lower)


The mother can claim maternity allowance as soon as she’s been pregnant for 26 weeks. She won’t have to pay tax on it.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


The mother can’t get maternity leave or pay, paternity leave or pay, or shared parental leave or pay.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


The mother can’t get maternity leave or pay, paternity leave or pay, or shared parental leave or pay.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


The mother can’t get maternity leave or pay, paternity leave or pay, or shared parental leave or pay.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@


##Maternity allowance

The mother can get [maternity allowance](/maternity-allowance) from the government for up to 39 weeks.

###Dates and amounts

Maternity allowance can start on | 13 November 2011




Weekly rate (between 6 April 2015 and 5 April 2016) | £139.58, or 90% of her average weekly earnings (whichever is lower)


The mother can claim maternity allowance as soon as she’s been pregnant for 26 weeks. She won’t have to pay tax on it.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@


##Maternity leave

The mother can take up to 52 weeks of [maternity leave](/maternity-pay-leave/leave). The leave will end if the mother goes back to work.

| Dates
- | -
Earliest leave can start | 13 November 2011
Tell the mother’s employer | 22 October 2011

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@


##Maternity leave

The mother can take up to 52 weeks of [maternity leave](/maternity-pay-leave/leave). The leave will end if the mother goes back to work.

| Dates
- | -
Earliest leave can start | 13 November 2011
Tell the mother’s employer | 22 October 2011

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@


##Maternity leave

The mother can take up to 52 weeks of [maternity leave](/maternity-pay-leave/leave). The leave will end if the mother goes back to work.

| Dates
- | -
Earliest leave can start | 13 November 2011
Tell the mother’s employer | 22 October 2011

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@


##Maternity allowance

The mother can get [maternity allowance](/maternity-allowance) from the government for up to 39 weeks.

###Dates and amounts

Maternity allowance can start on | 13 November 2011




Weekly rate (between 6 April 2015 and 5 April 2016) | £139.58, or 90% of her average weekly earnings (whichever is lower)


The mother can claim maternity allowance as soon as she’s been pregnant for 26 weeks. She won’t have to pay tax on it.

##Maternity leave

The mother can take up to 52 weeks of [maternity leave](/maternity-pay-leave/leave). The leave will end if the mother goes back to work.

| Dates
- | -
Earliest leave can start | 13 November 2011
Tell the mother’s employer | 22 October 2011

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@


##Maternity leave

The mother can take up to 52 weeks of [maternity leave](/maternity-pay-leave/leave). The leave will end if the mother goes back to work.

| Dates
- | -
Earliest leave can start | 13 November 2011
Tell the mother’s employer | 22 October 2011

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@


##Maternity leave

The mother can take up to 52 weeks of [maternity leave](/maternity-pay-leave/leave). The leave will end if the mother goes back to work.

| Dates
- | -
Earliest leave can start | 13 November 2011
Tell the mother’s employer | 22 October 2011

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@


##Maternity leave

The mother can take up to 52 weeks of [maternity leave](/maternity-pay-leave/leave). The leave will end if the mother goes back to work.

| Dates
- | -
Earliest leave can start | 13 November 2011
Tell the mother’s employer | 22 October 2011

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@


##Maternity allowance

The mother can get [maternity allowance](/maternity-allowance) from the government for up to 39 weeks.

###Dates and amounts

Maternity allowance can start on | 13 November 2011




Weekly rate (between 6 April 2015 and 5 April 2016) | £139.58, or 90% of her average weekly earnings (whichever is lower)


The mother can claim maternity allowance as soon as she’s been pregnant for 26 weeks. She won’t have to pay tax on it.

##Maternity leave

The mother can take up to 52 weeks of [maternity leave](/maternity-pay-leave/leave). The leave will end if the mother goes back to work.

| Dates
- | -
Earliest leave can start | 13 November 2011
Tell the mother’s employer | 22 October 2011

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


The mother can’t get maternity leave or pay, paternity leave or pay, or shared parental leave or pay.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


The mother can’t get maternity leave or pay, paternity leave or pay, or shared parental leave or pay.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


The mother can’t get maternity leave or pay, paternity leave or pay, or shared parental leave or pay.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@


##Maternity allowance

The mother can get [maternity allowance](/maternity-allowance) from the government for up to 39 weeks.

###Dates and amounts

Maternity allowance can start on | 13 November 2011




Weekly rate (between 6 April 2015 and 5 April 2016) | £139.58, or 90% of her average weekly earnings (whichever is lower)


The mother can claim maternity allowance as soon as she’s been pregnant for 26 weeks. She won’t have to pay tax on it.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


The mother can’t get maternity leave or pay, paternity leave or pay, or shared parental leave or pay.

##Extra help

They could get:

- a £500 [Sure Start maternity grant](/sure-start-maternity-grant)
- [benefits and tax credits](/benefits-calculators)

Loading