Skip to content

Commit

Permalink
Corrected system test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Tsoganov authored and Sergei Tsoganov committed Sep 29, 2023
1 parent 29775fe commit 4023e30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/system/invoices_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_user_can_update_billing_profile_on_issued_invoice

click_link_or_button('Change billing profile')
# select_from_dropdown('Joe John Participant', from: 'invoice[billing_profile_id]')
select 'Joe John Participant', from: 'invoice[billing_profile_id]'
select 'Joe John Participant', from: 'invoice_billing_profile_id'

click_link_or_button('Submit')

Expand All @@ -46,8 +46,8 @@ def test_user_cannot_update_billing_profile_on_paid_invoice

visit edit_invoice_path(@invoice.uuid)
# select_from_dropdown('Joe John Participant', from: 'invoice[billing_profile_id]')
select 'Joe John Participant', from: 'invoice[billing_profile_id]'
select 'Joe John Participant', from: 'invoice_billing_profile_id'

click_link_or_button('Submit')

assert_text('Something went wrong.')
Expand Down

0 comments on commit 4023e30

Please sign in to comment.