Commit 5ec5d3167abbc33681cc23455bd247265f55526f
1 parent
6eed6ac2
Exists in
master
and in
1 other branch
fix issue on spec introduce in previous commit. sorry
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
spec/models/problem_spec.rb
... | ... | @@ -57,10 +57,10 @@ describe Problem do |
57 | 57 | problem.should_not be_nil |
58 | 58 | |
59 | 59 | notice1 = Fabricate(:notice, :err => err) |
60 | - expect(problem.first_notice_at.to_i).to be_within(1).of(notice.created_at.to_i) | |
60 | + expect(problem.first_notice_at.to_i).to be_within(1).of(notice1.created_at.to_i) | |
61 | 61 | |
62 | 62 | notice2 = Fabricate(:notice, :err => err) |
63 | - expect(problem.first_notice_at.to_i).to be_within(1).of(notice.created_at.to_i) | |
63 | + expect(problem.first_notice_at.to_i).to be_within(1).of(notice1.created_at.to_i) | |
64 | 64 | end |
65 | 65 | end |
66 | 66 | ... | ... |