replace deprecated update_attributes with update
This commit is contained in:
parent
eb45a2bf21
commit
3ffdb424d5
28 changed files with 52 additions and 53 deletions
|
|
@ -151,7 +151,7 @@ describe OrderArticle do
|
|||
|
||||
# actual test
|
||||
it(success ? 'succeeds' : 'fails') do
|
||||
order.update_attributes(boxfill: boxfill_from)
|
||||
order.update(boxfill: boxfill_from)
|
||||
|
||||
r = proc {
|
||||
goa.update_quantities(*q.values[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue