Created
August 10, 2011 22:52
-
-
Save pierrel/1138497 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| it "should show sorted stream if updated by author after reshare" do | |
| # someone reshares | |
| SocialPost.make :postable => @mac_pics, :user => @tim, :postable_type => "Story", :network_name => SocialUser::BLURB | |
| # then the author updates, causing the original authored socialpost to update, pushing it to the "back" | |
| @mac_pics.title = @mac_pics.title + "_" | |
| @mac_pics.save! | |
| debugger | |
| @tony.story_stream.should == [@john_pics, @people_pics, @dog_pics, @mac_pics] | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment