From a6aeab04b81f8440e81d50b6eb7ea236e064110c Mon Sep 17 00:00:00 2001 From: Mohamed Wael Khobalatte Date: Sun, 1 Nov 2015 00:31:06 +0100 Subject: [PATCH] Drop force_attributes, since we no longer use it --- features/step_definitions/_given_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/step_definitions/_given_steps.rb b/features/step_definitions/_given_steps.rb index 83d0d08b20..4404f68c7d 100644 --- a/features/step_definitions/_given_steps.rb +++ b/features/step_definitions/_given_steps.rb @@ -224,7 +224,7 @@ Given /^the [pP]roject(?: "([^\"]*)")? has the following work_packages:$/ do |pr # setting up the database for the actual tests. The actual tests, # however, should NOT bypass the controller work_package = WorkPackage.new - work_package.force_attributes = params + work_package.attributes = params work_package.save! end end