Skip to content

Commit

Permalink
Update feature test
Browse files Browse the repository at this point in the history
  • Loading branch information
kosiakkatrina committed Jan 29, 2025
1 parent ad13e87 commit dba2998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/form/page_routing_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
it "displays the entered date if it's in a valid format" do
lettings_log.update!(startdate: "2021/10/13")
visit("/lettings-logs/#{id}/tenancy-start-date")
fill_in("lettings_log[startdate]", with: "1/12/202")
fill_in("lettings_log[startdate]", with: "1/12/0202")
click_button("Save and continue")

expect(page).to have_current_path("/lettings-logs/#{id}/tenancy-start-date")
Expand Down

0 comments on commit dba2998

Please sign in to comment.