Skip to content
Browse files

fixing spec

  • Loading branch information...
1 parent cba7ac6 commit 928cbbb555c09685ea328d6cc677003a6e6b3eed @ryanb committed Dec 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/models/mark_spec.rb
View
2 spec/models/mark_spec.rb
@@ -27,7 +27,7 @@
it "should clear future month cache of stamp when creating" do
stamp = Factory(:stamp)
cache1 = stamp.month_caches.create!(:for_month => 2.months.ago)
- cache2 = stamp.month_caches.create!(:for_month => Time.zone.beginning_of_month)
+ cache2 = stamp.month_caches.create!(:for_month => Time.now.beginning_of_month)
stamp.marks.create!(:marked_on => Time.zone.today)
MonthCache.exists?(cache1).should be_true
MonthCache.exists?(cache2).should be_false

0 comments on commit 928cbbb

Please sign in to comment.
Something went wrong with that request. Please try again.