Fixed spec
This commit is contained in:
parent
5263dd4297
commit
b603e0dc45
1 changed files with 2 additions and 2 deletions
|
@ -103,8 +103,8 @@ describe Project do
|
|||
:author => Factory(:user)
|
||||
end
|
||||
|
||||
it { project.last_activity.should == @note }
|
||||
it { project.last_activity_date.to_s.should == @note.created_at.to_s }
|
||||
it { project.last_activity.should == Event.last }
|
||||
it { project.last_activity_date.to_s.should == Event.last.created_at.to_s }
|
||||
end
|
||||
|
||||
describe "fresh commits" do
|
||||
|
|
Loading…
Reference in a new issue