]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/user_suspension_test.rb
Move api changeset index tests up
[rails.git] / test / system / user_suspension_test.rb
index a7251235770971ff33b49f2bcb3cc912f604b3f5..55c4b82d7c7c445d65ac885fcfac77f460d3b7cd 100644 (file)
@@ -4,12 +4,12 @@ class UserSuspensionTest < ApplicationSystemTestCase
   test "User shown a message when suspended mid-session" do
     user = create(:user)
     sign_in_as(user)
-    visit edit_account_path
-    assert_content "My Settings"
+    visit account_path
+    assert_content "My Account"
 
     user.suspend!
 
-    visit edit_account_path
+    visit account_path
     assert_content "This decision will be reviewed by an administrator shortly"
   end
 end