features/support/env.rb in pickle-0.5.3 vs features/support/env.rb in pickle-0.5.4
- old
+ new
@@ -1,14 +1,20 @@
# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
-# It is recommended to regenerate this file in the future when you upgrade to a
-# newer version of cucumber-rails. Consider adding your own code to a new file
+# It is recommended to regenerate this file in the future when you upgrade to a
+# newer version of cucumber-rails. Consider adding your own code to a new file
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
# files.
ENV["RAILS_ENV"] ||= "test"
ENV["RAILS_ROOT"] ||= File.expand_path(File.dirname(__FILE__) + '/../../cucumber_test_app')
+Bundler.setup
+
+require 'simplecov'
+require 'codecov'
+SimpleCov.formatter = SimpleCov::Formatter::Codecov
+
require 'capybara'
require 'cucumber/rails'
Capybara.default_selector = :css
ActionController::Base.allow_rescue = false
-DatabaseCleaner.strategy = :truncation
\ No newline at end of file
+DatabaseCleaner.strategy = :truncation