Skip to content

Commit

Permalink
Loosen time preciseness in future specs so as to reduce non-error test
Browse files Browse the repository at this point in the history
failures
  • Loading branch information
bhuga committed Jun 19, 2010
1 parent feb3906 commit ffac46b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/future.spec
Expand Up @@ -26,8 +26,8 @@ describe Future do
y = x + 5
y.should == 10
finish = Time.now
(middle - start).should be_close 0, 10**-3
(finish - start).should be_close 3, 10**-3
(middle - start).should be_close 0, 10**-2
(finish - start).should be_close 3, 10**-2
end

end
Expand Down

0 comments on commit ffac46b

Please sign in to comment.