test/dummy/spec/functional/timeline_spec.rb in inkwell-1.0.5 vs test/dummy/spec/functional/timeline_spec.rb in inkwell-1.1.1

- old
+ new

@@ -51,10 +51,10 @@ tline[8].should == @salkar_post5 tline[9].should == @salkar_post4 end it "comment should been in timeline" do - @salkar_comment = @salkar.comments.create :post_id => @salkar_post.id, :body => "salkar_comment_body" + @salkar_comment = @salkar.create_comment :for_object => @salkar_post, :body => "salkar_comment_body" @talisman.follow @morozovm @morozovm.reblog @salkar_comment @morozovm.favorite @salkar_comment @talisman.reload tline = @talisman.timeline(:last_shown_obj_id => nil, :limit => 10,:for_user => @morozovm) \ No newline at end of file