Skip to content

Commit

Permalink
One more place to test cancel button
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejkrzywda committed Nov 28, 2023
1 parent 961da0c commit 42b5f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rails_application/test/integration/orders_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def test_confirmed_order_doesnt_show_cancel_button

get "/orders/#{order_id}"
assert_select("button", text: "History")
#assert_select("button", text: "Cancel Order", count: 1)
assert_select("button", text: "Cancel Order", count: 1)


post "/orders/#{order_id}/pay"
Expand Down

0 comments on commit 42b5f29

Please sign in to comment.