Sha256: 29aa7286db67812eb1934777e0552da63410862c3763c5ccbd4203296ca3ce24

Contents?: true

Size: 188 Bytes

Versions: 5

Compression:

Stored size: 188 Bytes

Contents

begin
  require 'database_cleaner'

  Before do
    DatabaseCleaner.start
  end

  After do
    DatabaseCleaner.clean
  end

rescue LoadError => ignore_if_database_cleaner_not_present
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cucumber-rails-1.0.0 lib/cucumber/rails/hooks/database_cleaner.rb
cucumber-rails-0.5.2 lib/cucumber/rails/hooks/database_cleaner.rb
cucumber-rails-0.5.1 lib/cucumber/rails/hooks/database_cleaner.rb
cucumber-rails-0.5.0 lib/cucumber/rails/hooks/database_cleaner.rb
cucumber-rails-0.5.0.beta1 lib/cucumber/rails/hooks/database_cleaner.rb