Skip to content

Commit

Permalink
Update happy path spec
Browse files Browse the repository at this point in the history
  • Loading branch information
AbigailMcP authored and AbigailMcP committed Aug 23, 2024
1 parent 5e126ef commit 140db20
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@
click_button "Continue"

expect(page.current_path).to eq "/early-years-payment-provider/start-date"
fill_in("Day", with: "1")
fill_in("Month", with: "12")
fill_in("Year", with: "2024")
date = Date.yesterday
fill_in("Day", with: date.day)
fill_in("Month", with: date.month)
fill_in("Year", with: date.year)
click_button "Continue"

expect(page.current_path).to eq "/early-years-payment-provider/child-facing"
Expand Down

0 comments on commit 140db20

Please sign in to comment.