summaryrefslogtreecommitdiff
path: root/spec/migrations/rename_users_with_renamed_namespace_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/migrations/rename_users_with_renamed_namespace_spec.rb')
-rw-r--r--spec/migrations/rename_users_with_renamed_namespace_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/migrations/rename_users_with_renamed_namespace_spec.rb b/spec/migrations/rename_users_with_renamed_namespace_spec.rb
index cbc0ebeb44d..e2994103ed7 100644
--- a/spec/migrations/rename_users_with_renamed_namespace_spec.rb
+++ b/spec/migrations/rename_users_with_renamed_namespace_spec.rb
@@ -7,9 +7,9 @@ describe RenameUsersWithRenamedNamespace, :delete do
other_user1 = create(:user, username: 'api0')
user = create(:user, username: "Users0")
- user.update_attribute(:username, 'Users')
+ user.update_column(:username, 'Users')
user1 = create(:user, username: "import0")
- user1.update_attribute(:username, 'import')
+ user1.update_column(:username, 'import')
described_class.new.up