]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/user_signup_test.rb
Remove "Sign up" and "Log in" from application bar when sessions or user controller...
[rails.git] / test / system / user_signup_test.rb
index d4da01436be9c4183fd26588ab35dd94ebb7b82c..0835df741779eb05d306ae670639d0ea163d5e1d 100644 (file)
@@ -4,8 +4,8 @@ class UserSignupTest < ApplicationSystemTestCase
   test "Sign up from login page" do
     visit login_path
 
   test "Sign up from login page" do
     visit login_path
 
-    click_on "Register now"
+    click_on "Sign up"
 
 
-    assert page.has_content? "Confirm Password"
+    assert_content "Confirm Password"
   end
 end
   end
 end