spec/features/admin/reports_spec.rb in spree_backend-3.0.10 vs spec/features/admin/reports_spec.rb in spree_backend-3.1.0.rc1
- old
+ new
@@ -18,15 +18,15 @@
context "searching the admin reports page" do
before do
order = create(:order)
order.update_columns({:adjustment_total => 100})
- order.completed_at = Time.now
+ order.completed_at = Time.current
order.save!
order = create(:order)
order.update_columns({:adjustment_total => 200})
- order.completed_at = Time.now
+ order.completed_at = Time.current
order.save!
#incomplete order
order = create(:order)
order.update_columns({:adjustment_total => 50})