]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/user_signup_test.rb
Use `assert_content` instead of `assert page.has_content?`
[rails.git] / test / system / user_signup_test.rb
index d4da01436be9c4183fd26588ab35dd94ebb7b82c..7e2c6ba546c8761376dbb4cd22e994768261e38f 100644 (file)
@@ -6,6 +6,6 @@ class UserSignupTest < ApplicationSystemTestCase
 
     click_on "Register now"
 
-    assert page.has_content? "Confirm Password"
+    assert_content "Confirm Password"
   end
 end