diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-05-16 12:03:31 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-05-16 12:03:31 +0100 |
commit | 267f1ca46e45ca75234be8db9b74cb072e0cbe06 (patch) | |
tree | d349a92e93abfd401d97044e5772f21ce8af33cd /spec/controllers/user_controller_spec.rb | |
parent | 5739b9ee7924903da40b0c378b76a3131a8b294d (diff) |
Make it possible to view other people's activities on their own walls.
Diffstat (limited to 'spec/controllers/user_controller_spec.rb')
-rw-r--r-- | spec/controllers/user_controller_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/controllers/user_controller_spec.rb b/spec/controllers/user_controller_spec.rb index ab485cb14..37b8b33dc 100644 --- a/spec/controllers/user_controller_spec.rb +++ b/spec/controllers/user_controller_spec.rb @@ -651,5 +651,11 @@ describe UserController, "when viewing the wall" do assigns[:feed_results][0].should == ire end + it "should show other users' activities on their walls" do + user = users(:silly_name_user) + ire = info_request_events(:useless_incoming_message_event) + get :wall, :url_name => user.url_name + assigns[:feed_results][0].should_not == ire + end end |