From e2820105a698d8af93c213f5df31578acda545fe Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Wed, 16 May 2012 12:03:31 +0100 Subject: Make it possible to view other people's activities on their own walls. --- spec/controllers/user_controller_spec.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'spec/controllers/user_controller_spec.rb') 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 -- cgit v1.2.3