Fix intermittently failing spec
* `fog_spec.rb:328` fails intermittently due to a race condition * Use [TimeCop][1] gem to freeze time during the spec * Extract magic number * Break long line [1]: https://github.com/travisjeffery/timecop 
Showing
... | ... | @@ -17,4 +17,5 @@ gem 'pry' |
group :development, :test do | ||
gem 'mime-types', '~> 1.16' | ||
gem 'builder', '~> 3.1.4' | ||
gem 'timecop', '~> 0.7.1' | ||
end |
Please
register
or
sign in
to comment