Skip to content
Snippets Groups Projects
Commit 3a3dd539 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Disable transaction in specs for some migrations

parent 3447f97b
No related branches found
No related tags found
No related merge requests found
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) }
 
Loading
Loading
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment