|
|
|
@ -62,7 +62,7 @@ RSpec.describe "Form Navigation" do
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "a question page has a link allowing you to cancel your input and return to the check answers page" do |
|
|
|
|
visit("logs/#{id}/tenant-code-test") |
|
|
|
|
visit("logs/#{id}/tenant-code-test?referrer=check_answers") |
|
|
|
|
click_link(text: "Cancel") |
|
|
|
|
expect(page).to have_current_path("/logs/#{id}/setup/check-answers") |
|
|
|
|
end |
|
|
|
|