diff --git a/spec/models/spree/return_authorization_spec.rb b/spec/models/spree/return_authorization_spec.rb index 2b0b9db5473..d37bac00ed0 100644 --- a/spec/models/spree/return_authorization_spec.rb +++ b/spec/models/spree/return_authorization_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe Spree::ReturnAuthorization do - let(:order) { FactoryGirl.create(:shipped_order) } + let(:order) { create(:shipped_order) } let(:variant) { order.shipments.first.inventory_units.first.variant } let(:return_authorization) { Spree::ReturnAuthorization.new(order: order) }