Commit b603e0dc authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed spec

parent 5263dd42
...@@ -103,8 +103,8 @@ describe Project do ...@@ -103,8 +103,8 @@ describe Project do
:author => Factory(:user) :author => Factory(:user)
end end
it { project.last_activity.should == @note } it { project.last_activity.should == Event.last }
it { project.last_activity_date.to_s.should == @note.created_at.to_s } it { project.last_activity_date.to_s.should == Event.last.created_at.to_s }
end end
describe "fresh commits" do describe "fresh commits" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment