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
rails_admin_settings-1.0.0.pre.1 spec/support/database_cleaner.rb
rails_admin_settings-0.9.1 spec/support/database_cleaner.rb
rails_admin_settings-0.9.0 spec/support/database_cleaner.rb
rails_admin_settings-0.9.0.pre.6 spec/support/database_cleaner.rb
rails_admin_settings-0.9.0.pre.5 spec/support/database_cleaner.rb
rails_admin_settings-0.9.0.pre.4 spec/support/database_cleaner.rb
rails_admin_settings-0.9.0.pre.3 spec/support/database_cleaner.rb
rails_admin_settings-0.9.0.pre.2 spec/support/database_cleaner.rb
rails_admin_settings-0.9.0.pre spec/support/database_cleaner.rb
rails_admin_settings-0.8.0 spec/support/database_cleaner.rb
rails_admin_settings-0.7.8 spec/support/database_cleaner.rb
rails_admin_settings-0.7.7 spec/support/database_cleaner.rb
rails_admin_settings-0.7.6 spec/support/database_cleaner.rb
rails_admin_settings-0.7.5 spec/support/database_cleaner.rb
rails_admin_settings-0.7.4 spec/support/database_cleaner.rb
rails_admin_settings-0.7.3 spec/support/database_cleaner.rb
rails_admin_settings-0.7.2 spec/support/database_cleaner.rb
rails_admin_settings-0.7.1 spec/support/database_cleaner.rb
rails_admin_settings-0.7.0 spec/support/database_cleaner.rb
rails_admin_settings-0.6.8 spec/support/database_cleaner.rb