Sha256: 04ba22e79a60764a36d631f9d55de16dcb760437c531507a4564c3bf4f177dc4

Contents?: true

Size: 190 Bytes

Versions: 79

Compression:

Stored size: 190 Bytes

Contents

RSpec.configure do |config|
  config.before :suite do
    DatabaseCleaner.strategy = :truncation
  end
  config.after :each do
    DatabaseCleaner.clean
    Settings.destroy_all!
  end
end

Version data entries

79 entries across 79 versions & 3 rubygems

Version Path
thecore_settings-2.0.9 spec/support/database_cleaner.rb
thecore_settings-2.0.8 spec/support/database_cleaner.rb
thecore_settings-2.0.7 spec/support/database_cleaner.rb
thecore_settings-2.0.6 spec/support/database_cleaner.rb
thecore_settings-2.0.5 spec/support/database_cleaner.rb
thecore_settings-2.0.4 spec/support/database_cleaner.rb
thecore_settings-2.0.3 spec/support/database_cleaner.rb
thecore_settings-2.0.2 spec/support/database_cleaner.rb
rails_admin_settings-1.7.0 spec/support/database_cleaner.rb
rails_admin_settings-1.6.0 spec/support/database_cleaner.rb
rails_admin_settings-1.5.1 spec/support/database_cleaner.rb
rails_admin_settings-1.5.0 spec/support/database_cleaner.rb
rails_admin_settings-1.4.2 spec/support/database_cleaner.rb
rails_admin_settings-1.4.1 spec/support/database_cleaner.rb
rails_admin_settings-1.4.0 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.2.3.3 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.2.3.2 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.2.3.1 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.2.3 spec/support/database_cleaner.rb
rails_admin_settings-1.3.2 spec/support/database_cleaner.rb