diff options
Diffstat (limited to 'spec/support/referential.rb')
| -rw-r--r-- | spec/support/referential.rb | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/spec/support/referential.rb b/spec/support/referential.rb index d20b68ee6..c1a043b8f 100644 --- a/spec/support/referential.rb +++ b/spec/support/referential.rb @@ -27,10 +27,6 @@ RSpec.configure do |config|    config.include ReferentialHelper    config.before(:suite) do -    # Clean all tables to start -    DatabaseCleaner.clean_with :truncation -    # Use transactions for tests -    DatabaseCleaner.strategy = :transaction      # Truncating doesn't drop schemas, ensure we're clean here, first *may not* exist      Apartment::Tenant.drop('first') rescue nil      # Create the default tenant for our tests @@ -39,8 +35,6 @@ RSpec.configure do |config|    end    config.before(:each) do -    # Start transaction for this test -    #DatabaseCleaner.start      # Switch into the default tenant      first_referential.switch    end @@ -48,8 +42,6 @@ RSpec.configure do |config|    config.after(:each) do      # Reset tenant back to `public`      Apartment::Tenant.reset -    # Rollback transaction -    DatabaseCleaner.clean    end   end | 
