diff options
Diffstat (limited to 'spec/migrations/rename_users_with_renamed_namespace_spec.rb')
-rw-r--r-- | spec/migrations/rename_users_with_renamed_namespace_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/migrations/rename_users_with_renamed_namespace_spec.rb b/spec/migrations/rename_users_with_renamed_namespace_spec.rb index e2994103ed7..b8a4dc2b2c0 100644 --- a/spec/migrations/rename_users_with_renamed_namespace_spec.rb +++ b/spec/migrations/rename_users_with_renamed_namespace_spec.rb @@ -3,12 +3,12 @@ require Rails.root.join('db', 'post_migrate', '20170518200835_rename_users_with_ describe RenameUsersWithRenamedNamespace, :delete do it 'renames a user that had their namespace renamed to the namespace path' do - other_user = create(:user, username: 'kodingu') - other_user1 = create(:user, username: 'api0') + other_user = create(:user, username: 'kodingu') # rubocop:disable RSpec/FactoriesInMigrationSpecs + other_user1 = create(:user, username: 'api0') # rubocop:disable RSpec/FactoriesInMigrationSpecs - user = create(:user, username: "Users0") + user = create(:user, username: "Users0") # rubocop:disable RSpec/FactoriesInMigrationSpecs user.update_column(:username, 'Users') - user1 = create(:user, username: "import0") + user1 = create(:user, username: "import0") # rubocop:disable RSpec/FactoriesInMigrationSpecs user1.update_column(:username, 'import') described_class.new.up |