test/datetime_test.rb in attr_searchable-0.0.4 vs test/datetime_test.rb in attr_searchable-0.0.5

- old
+ new

@@ -40,11 +40,11 @@ end def test_greater product = create(:product, :created_at => Time.parse("2014-05-01")) - assert_includes Product.search("created_at < 2014-05-02"), product - refute_includes Product.search("created_at < 2014-05-01"), product + assert_includes Product.search("created_at > 2014-04-01"), product + refute_includes Product.search("created_at > 2014-05-01"), product end def test_greater_equals product = create(:product, :created_at => Time.parse("2014-05-01"))