Sha256: 7ce1e8307e578c2891a7f8e6b39b267bdc6e1a7f46535d866e6da10cd4cc6561

Contents?: true

Size: 312 Bytes

Versions: 24

Compression:

Stored size: 312 Bytes

Contents

require 'database_cleaner'

Cucumber::Rails::Database.autorun_database_cleaner = false
Cucumber::Rails::Database.javascript_strategy      = :truncation

After do |scenario, block|
  DatabaseCleaner.clean_with(:truncation, {except: %w(
    ar_internal_metadata
    schema_migrations
    spatial_ref_sys
  )})
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
dorsale-3.8.1 features/support/database_cleaner.rb
dorsale-3.8.0 features/support/database_cleaner.rb
dorsale-3.7.8 features/support/database_cleaner.rb
dorsale-3.7.7 features/support/database_cleaner.rb
dorsale-3.7.6 features/support/database_cleaner.rb
dorsale-3.7.5 features/support/database_cleaner.rb
dorsale-3.7.4 features/support/database_cleaner.rb
dorsale-3.7.2 features/support/database_cleaner.rb
dorsale-3.7.1 features/support/database_cleaner.rb
dorsale-3.7.0 features/support/database_cleaner.rb
dorsale-3.6.1 features/support/database_cleaner.rb
dorsale-3.6.0 features/support/database_cleaner.rb
dorsale-3.5.2 features/support/database_cleaner.rb
dorsale-3.5.1 features/support/database_cleaner.rb
dorsale-3.5.0 features/support/database_cleaner.rb
dorsale-3.4.0 features/support/database_cleaner.rb
dorsale-3.3.0 features/support/database_cleaner.rb
dorsale-3.2.0 features/support/database_cleaner.rb
dorsale-3.1.7 features/support/database_cleaner.rb
dorsale-3.1.6 features/support/database_cleaner.rb