Move to apparition for integration tests
This commit is contained in:
parent
8823ca2060
commit
6d9c35db20
13 changed files with 65 additions and 53 deletions
|
|
@ -50,7 +50,9 @@ feature Order, js: true do
|
|||
oa.update_results!
|
||||
# and close the order
|
||||
visit orders_path
|
||||
click_link_or_button I18n.t('orders.index.action_end')
|
||||
accept_confirm do
|
||||
click_link_or_button I18n.t('orders.index.action_end')
|
||||
end
|
||||
expect(page).to have_selector('.alert-success')
|
||||
order.reload
|
||||
oa.reload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue