spec/factories.rb in schnitzelpress-0.0.5 vs spec/factories.rb in schnitzelpress-0.0.6

- old
+ new

@@ -1,9 +1,9 @@ FactoryGirl.define do factory :post, class: SchnitzelPress::Post do title { Faker::Lorem.sentence } body { Faker::Lorem.paragraphs } - published_at { rand(1.year).minutes.ago } + published_at { Time.now } end factory :published_post, parent: :post do status :published end