]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/friendships_test.rb
Modify the way Friends are added
[rails.git] / test / system / friendships_test.rb
index 1db4d3c256926b2e0a281760e5374fafb47daf99..25b627f535c9829faf795b1e8d3a5513185d450c 100644 (file)
@@ -8,11 +8,11 @@ class FriendshipsTest < ApplicationSystemTestCase
 
     with_settings(:max_friends_per_hour => 0) do
       visit user_path(befriendee)
-      assert_link "Add Friend"
+      assert_link "Follow"
 
-      click_on "Add Friend"
-      assert_text "You have friended a lot of users recently"
-      assert_link "Add Friend"
+      click_on "Follow"
+      assert_text "You have followed a lot of users recently"
+      assert_link "Follow"
     end
   end
 end