Skip to content

Commit

Permalink
[backend] Setting bill_address to nil is now required in payments_con…
Browse files Browse the repository at this point in the history
…troller due to 4a2df6b
  • Loading branch information
radar committed Jun 18, 2013
1 parent b9b70dc commit ae21ed1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ module Admin
end

context "order does not have a billing address" do
before do
order.bill_address = nil
order.save
end

it "should redirect to the customer details page" do
spree_get :index, { amount: 100, order_id: order.number }
Expand Down

0 comments on commit ae21ed1

Please sign in to comment.