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-0.6.7 spec/support/database_cleaner.rb
rails_admin_settings-0.6.5 spec/support/database_cleaner.rb
rails_admin_settings-0.6.4 spec/support/database_cleaner.rb
rails_admin_settings-0.6.3 spec/support/database_cleaner.rb
rails_admin_settings-0.6.2 spec/support/database_cleaner.rb
rails_admin_settings-0.6.1 spec/support/database_cleaner.rb
rails_admin_settings-0.6.0 spec/support/database_cleaner.rb
rails_admin_settings-0.5.5 spec/support/database_cleaner.rb
rails_admin_settings-0.5.4 spec/support/database_cleaner.rb
rails_admin_settings-0.5.3 spec/support/database_cleaner.rb
rails_admin_settings-0.5.2 spec/support/database_cleaner.rb
rails_admin_settings-0.5.0 spec/support/database_cleaner.rb
rails_admin_settings-0.4.3 spec/support/database_cleaner.rb
rails_admin_settings-0.4.2 spec/support/database_cleaner.rb
rails_admin_settings-0.4.1 spec/support/database_cleaner.rb
rails_admin_settings-0.4.0 spec/support/database_cleaner.rb
rails_admin_settings-0.3.9 spec/support/database_cleaner.rb
rails_admin_settings-0.3.8 spec/support/database_cleaner.rb
rails_admin_settings-0.3.7 spec/support/database_cleaner.rb