freeze at a valid time, not 0000-01-01 ...
This commit is contained in:
parent
d9d7bbb74b
commit
6c34207e01
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ describe Diaspora::Relayable do
|
|||
|
||||
describe 'interacted_at' do
|
||||
it 'sets the interacted at of the parent to the created at of the relayable post' do
|
||||
Timecop.freeze do
|
||||
Timecop.freeze Time.now do
|
||||
relayable = build_object
|
||||
relayable.save
|
||||
if relayable.parent.respond_to?(:interacted_at) #I'm sorry.
|
||||
|
|
|
|||
Loading…
Reference in a new issue