replace deprecated update_attributes with update
This commit is contained in:
parent
eb45a2bf21
commit
3ffdb424d5
28 changed files with 52 additions and 53 deletions
|
|
@ -97,7 +97,7 @@ feature 'settling an order', js: true do
|
|||
end
|
||||
|
||||
it 'deletes a GroupOrderArticle with no ordered amounts' do
|
||||
goa1.update_attributes({ :quantity => 0, :tolerance => 0 })
|
||||
goa1.update(quantity: 0, tolerance: 0)
|
||||
click_link article.name
|
||||
expect(page).to have_selector("#group_order_article_#{goa1.id}")
|
||||
within("#group_order_article_#{goa1.id}") do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue