spec/fixtures/models.rb in by_star-0.5.1 vs spec/fixtures/models.rb in by_star-0.5.2
- old
+ new
@@ -53,10 +53,10 @@
Post.factory "Tomorrow's post", Time.zone.now + 1.day
Post.factory "That's it!", Time.zone.now.end_of_year
# For by_weekend scoped test
-post = Post.factory "Weekend of May", "16-05-2009".to_time
+post = Post.factory "Weekend of May", "16-05-#{Time.zone.now.year}".to_time
post.tags.create(:name => "weekend")
# For by_day scoped test
post = Post.factory "Today", Time.zone.now
post.tags.create(:name => "today")
\ No newline at end of file