Skip to content

Commit

Permalink
Extend happy path spec
Browse files Browse the repository at this point in the history
  • Loading branch information
AbigailMcP authored and alkesh committed Aug 28, 2024
1 parent 5e93ba2 commit 1757652
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@
click_button "Accept and send"

expect(page.current_path).to eq claim_confirmation_path(Journeys::EarlyYearsPayment::Provider::Authenticated::ROUTING_NAME)
expect(Claim.last.provider_contact_name).to eq "John Doe"

claim = Claim.last
expect(claim.provider_contact_name).to eq "John Doe"
expect(page).to have_content(claim.reference)
end

scenario "using magic link after having completed some of the journey" do
Expand Down

0 comments on commit 1757652

Please sign in to comment.