diff --git a/spec/controllers/shop/checkout_controller_spec.rb b/spec/controllers/shop/checkout_controller_spec.rb index 9086fe0953..bdefa65ec2 100644 --- a/spec/controllers/shop/checkout_controller_spec.rb +++ b/spec/controllers/shop/checkout_controller_spec.rb @@ -88,7 +88,7 @@ describe Shop::CheckoutController do it "returns errors" do xhr :post, :update, order: {}, use_route: :spree response.status.should == 400 - response.body.should == {errors: assigns[:order].errors, flash: []}.to_json + response.body.should == {errors: assigns[:order].errors, flash: {}}.to_json end it "returns flash" do