Skip to content

Commit

Permalink
Update quantity_promotions_spec based on changes to views
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillip Birtcher committed Jun 15, 2015
1 parent 4288579 commit 3c399ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/spec/features/quantity_promotions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@
# Reduce quantity by 1, making promotion not apply.
fill_in "order_line_items_attributes_0_quantity", with: 1
click_button "Update"
within("#cart_adjustments") do
expect(page).to have_content("$0.00")
end
expect(page).to_not have_content("#cart_adjustments")

# Bump quantity to 3, making promotion apply "once."
fill_in "order_line_items_attributes_0_quantity", with: 3
Expand Down

0 comments on commit 3c399ee

Please sign in to comment.