Skip to content

Commit

Permalink
Adapt line item controller spec to new orders edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
luisramos0 committed Jan 31, 2019
1 parent 47efbbc commit 9ec0e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/controllers/spree/admin/line_items_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@
context 'when the request is HTML' do
before { params[:format] = :html }

it 'returns an HTML response with the order form' do
it 'returns an HTML response with the order details' do
spree_put :update, params
expect(response.body).to match(/edit_order/)
expect(response.body).to match(/stock-contents/)
end
end
end
Expand Down

0 comments on commit 9ec0e97

Please sign in to comment.