features/support/env.rb in cryptocoin_payable-1.2.0 vs features/support/env.rb in cryptocoin_payable-1.3.0
- old
+ new
@@ -2,9 +2,11 @@
ENV['RAILS_ROOT'] ||= File.dirname(__FILE__) + '../../../spec/dummy'
require 'cucumber/rails'
require 'cucumber/rspec/doubles'
+# ActiveRecord::Base.logger = Logger.new(STDOUT) if defined?(ActiveRecord::Base)
+
# Remove/comment out the lines below if your app doesn't have a database.
# For some databases (like MongoDB and CouchDB) you may need to use :truncation instead.
begin
DatabaseCleaner.strategy = :transaction
rescue NameError