Implements timecop to make tests independent from DateTime (close #327)
This commit is contained in:
parent
ade64f339f
commit
7c51d1a42f
14 changed files with 42 additions and 38 deletions
1
Gemfile
1
Gemfile
|
|
@ -127,4 +127,5 @@ group :test do
|
|||
gem 'shoulda'
|
||||
# Extracted from RSpec 3 stub_model and mock_model
|
||||
gem 'rspec-activemodel-mocks'
|
||||
gem 'timecop'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue