Permalink
Browse files

freeze at a valid time, not 0000-01-01 ...

  • Loading branch information...
1 parent d9d7bbb commit 6c34207e014919ab8640480c1c637faab8d9db3c @Raven24 Raven24 committed Apr 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/shared_behaviors/relayable.rb
View
2 spec/shared_behaviors/relayable.rb
@@ -9,7 +9,7 @@
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.

0 comments on commit 6c34207

Please sign in to comment.