Disable transaction in specs for some migrations
This commit is contained in:
parent
3447f97b44
commit
3a3dd53920
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Gitlab::Database::RenameReservedPathsMigration::V1::RenameNamespaces do
|
||||
describe Gitlab::Database::RenameReservedPathsMigration::V1::RenameNamespaces, :truncate do
|
||||
let(:migration) { FakeRenameReservedPathMigrationV1.new }
|
||||
let(:subject) { described_class.new(['the-path'], migration) }
|
||||
|
||||
|
|
|
@ -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) }
|
||||
|
||||
|
|
Loading…
Reference in a new issue