]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/user_signup_test.rb
Merge remote-tracking branch 'upstream/pull/5699'
[rails.git] / test / system / user_signup_test.rb
index 2fb90fc3a41acf81873d53ab3d640bc9b34e1771..2d05447a6a280980128e605e4d4b16aee4b4eb59 100644 (file)
@@ -79,7 +79,9 @@ class UserSignupTest < ApplicationSystemTestCase
   test "Sign up from login page" do
     visit login_path
 
-    click_on "Sign up"
+    within_content_heading do
+      click_on "Sign Up"
+    end
 
     within_content_body do
       assert_content "Confirm Password"