1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- require 'cucumber/rails'
- ActionController::Base.allow_rescue = false
- begin
- DatabaseCleaner.strategy = :transaction
- rescue NameError
- raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
- end
- Cucumber::Rails::Database.javascript_strategy = :truncation
- require "#{Rails.root}/spec/factories.rb"
|