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.3.1 spec/support/database_cleaner.rb
rails_admin_settings-1.3.0 spec/support/database_cleaner.rb
rails_admin_settings-1.2.1 spec/support/database_cleaner.rb
rails_admin_settings-1.2.0 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.2.2.1 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.2.2 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.2.1.3 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.2.1.2 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.2.1.1 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.2.1 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.2.0.2 spec/support/database_cleaner.rb
rails_admin_settings-1.1.4 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.2.0.1 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.1.5 spec/support/database_cleaner.rb
ack_rails_admin_settings-1.1.4 spec/support/database_cleaner.rb
rails_admin_settings-1.1.3 spec/support/database_cleaner.rb
rails_admin_settings-1.1.2 spec/support/database_cleaner.rb
rails_admin_settings-1.1.0.pre.1 spec/support/database_cleaner.rb
rails_admin_settings-1.0.1 spec/support/database_cleaner.rb
rails_admin_settings-1.0.0 spec/support/database_cleaner.rb