summaryrefslogtreecommitdiff
path: root/spec/migrations/migrate_user_project_view_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/migrations/migrate_user_project_view_spec.rb')
-rw-r--r--spec/migrations/migrate_user_project_view_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/migrate_user_project_view_spec.rb b/spec/migrations/migrate_user_project_view_spec.rb
index 31d16e17d7b..80468b9d01e 100644
--- a/spec/migrations/migrate_user_project_view_spec.rb
+++ b/spec/migrations/migrate_user_project_view_spec.rb
@@ -5,7 +5,7 @@ require Rails.root.join('db', 'post_migrate', '20170406142253_migrate_user_proje
describe MigrateUserProjectView, :delete do
let(:migration) { described_class.new }
- let!(:user) { create(:user, project_view: 'readme') }
+ let!(:user) { create(:user, project_view: 'readme') } # rubocop:disable RSpec/FactoriesInMigrationSpecs
describe '#up' do
it 'updates project view setting with new value' do