Commit b603e0dc4517c97e9f7da557c37cfa4cf3cf4353
1 parent
5263dd42
Exists in
master
and in
4 other branches
Fixed spec
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
spec/models/project_spec.rb
| ... | ... | @@ -103,8 +103,8 @@ describe Project do |
| 103 | 103 | :author => Factory(:user) |
| 104 | 104 | end |
| 105 | 105 | |
| 106 | - it { project.last_activity.should == @note } | |
| 107 | - it { project.last_activity_date.to_s.should == @note.created_at.to_s } | |
| 106 | + it { project.last_activity.should == Event.last } | |
| 107 | + it { project.last_activity_date.to_s.should == Event.last.created_at.to_s } | |
| 108 | 108 | end |
| 109 | 109 | |
| 110 | 110 | describe "fresh commits" do | ... | ... |