Skip to content

Commit

Permalink
Update expectation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Dutil authored and Jeff Dutil committed Dec 5, 2014
1 parent d76a425 commit c2fd238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/spec/models/spree/return_authorization_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@

it "should add credit for specified amount" do
return_authorization.amount = 20
expect(Spree::Adjustment).to receive(:create).with(adjustable: order, amount: -20, label: Spree.t(:rma_credit), source: return_authorization)
expect(Spree::Adjustment).to receive(:create).with(adjustable: order, amount: -20, label: Spree.t(:rma_credit), order: order, source: return_authorization)
return_authorization.receive!
end

Expand Down

0 comments on commit c2fd238

Please sign in to comment.