Daniel Colson
5f1a1de114
Run standardrb
...
This commit applies the changes from running `standardrb --fix`
2020-06-10 17:11:39 -04:00
Oliver Peate
eb6bccb3e3
Avoid time travel in tests
...
By being a little bit less strict in our assertions, we can still
prove the behaviour is correct, without having to freeze / travel time.
2019-08-01 11:21:06 +01:00
Oliver Peate
eabb1a35ee
Switch from TimeCop to ActiveSupport::Testing::TimeHelpers
...
Removes a (development) dependency 🎉
2019-08-01 11:21:06 +01:00
Mandaryn
f1f7719f6e
Do not add missing timestamps when using build stubbed strategy
2018-08-05 17:46:38 -04:00
Michael Koper
3db8a120ba
Do not raise error for valid build_stubbed methods
...
decrement, increment, and toggle do not persist the toggled values, so
there is not reason to disable those methods.
Co-authored-by: Alex Tsui <alextsui05@gmail.com>
2018-08-05 17:14:46 -04:00
Oli Peate
01d81f54b5
Remove unnecessary spec_helper requires
...
https://github.com/rspec/rspec/wiki#rspec
2018-05-21 18:03:28 +01:00
Avielle
c716ce01b4
Replace 'girl' with 'bot' everywhere ( #1051 )
...
Also: add a deprecation warning to factory_girl, asking users to switch to
factory_bot
https://github.com/thoughtbot/factory_girl/issues/921
2017-10-20 15:20:28 -04:00