Skip to content

Commit

Permalink
fix failing time spec
Browse files Browse the repository at this point in the history
  • Loading branch information
data-doge committed Apr 12, 2016
1 parent 4014f9c commit 262c446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/bucket_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
Timecop.return

bucket.reload
expect(bucket.live_at).to eq(current_time - 1.hour)
expect(bucket.live_at).to be_within(1).of(current_time - 1.hour)
end
end

Expand Down

0 comments on commit 262c446

Please sign in to comment.