Skip to content

Commit

Permalink
Google has changed its address handling some time in the last 5 month…
Browse files Browse the repository at this point in the history
…s. These fixes mirror the changes for the tests
  • Loading branch information
mlandauer committed Mar 27, 2018
1 parent a94f4e4 commit 38c124e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spec/features/search_for_applications_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

fill_in "Enter a street address", with: "24 Bruce Road Glenb"

expect_autocomplete_suggestions_to_include "Bruce Road, Glenbrook, New South Wales"
expect_autocomplete_suggestions_to_include "Bruce Road, Glenbrook NSW"
end
end
end
6 changes: 3 additions & 3 deletions spec/features/sign_up_for_alerts_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

click_button("Create alert")

expect(page).to have_content("Please enter a full street address, including suburb and state, e.g. Bruce Rd, Millmerran QLD 4357")
expect(page).to have_content("Please enter a full street address, including suburb and state, e.g. Bruce Rd, Mount Martha VIC 3934")
end

context "via an application page" do
Expand Down Expand Up @@ -113,7 +113,7 @@

fill_in "Enter a street address", with: "24 Bruce Road Glenb"

expect_autocomplete_suggestions_to_include "Bruce Road, Glenbrook, New South Wales"
expect_autocomplete_suggestions_to_include "24 Bruce Road, Glenbrook NSW"
end
end
end
Expand Down Expand Up @@ -206,7 +206,7 @@

fill_in "Enter a street address", with: "24 Bruce Road Glenb"

expect_autocomplete_suggestions_to_include "Bruce Road, Glenbrook, New South Wales"
expect_autocomplete_suggestions_to_include "Bruce Road, Glenbrook NSW"
end
end

Expand Down

0 comments on commit 38c124e

Please sign in to comment.