Skip to content

Commit

Permalink
Remove reference to FactoryGirl
Browse files Browse the repository at this point in the history
  • Loading branch information
luisramos0 committed Sep 5, 2020
1 parent 1cc89c2 commit 8023a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/spree/return_authorization_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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) }

Expand Down

0 comments on commit 8023a81

Please sign in to comment.