summaryrefslogtreecommitdiff
path: root/spec/migrations
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-22 12:35:47 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-22 12:35:47 +0200
commit3a3dd539208f75be9b2944c752ac3dc18a1b4306 (patch)
tree057e8bdc73521a1fbc1934f0d48b3ff9bef246ad /spec/migrations
parent3447f97b448b0fa999351ed959b9d6a8656f9523 (diff)
downloadgitlab-ce-3a3dd539208f75be9b2944c752ac3dc18a1b4306.tar.gz
Disable transaction in specs for some migrations
Diffstat (limited to 'spec/migrations')
-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 70f8e0d6082..afaa5d836a7 100644
--- a/spec/migrations/migrate_user_project_view_spec.rb
+++ b/spec/migrations/migrate_user_project_view_spec.rb
@@ -3,7 +3,7 @@
require 'spec_helper'
require Rails.root.join('db', 'post_migrate', '20170406142253_migrate_user_project_view.rb')
-describe MigrateUserProjectView do
+describe MigrateUserProjectView, :truncate do
let(:migration) { described_class.new }
let!(:user) { create(:user) }