spec/spec_helper.rb in dashing-rails-1.0.1 vs spec/spec_helper.rb in dashing-rails-1.0.2
- old
+ new
@@ -1,5 +1,9 @@
+require 'simplecov'
+require 'coveralls'
+Coveralls.wear!
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV['RAILS_ENV'] ||= 'test'
ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../')
require File.expand_path(ENGINE_RAILS_ROOT + 'spec/dummy/config/environment', __FILE__)
@@ -32,10 +36,10 @@
# config.use_transactional_fixtures = true
# If true, the base class of anonymous controllers will be inferred
# automatically. This will be the default behavior in future versions of
# rspec-rails.
- config.infer_base_class_for_anonymous_controllers = false
+ config.infer_base_class_for_anonymous_controllers = true
# Run specs in random order to surface order dependencies. If you find an
# order dependency and want to debug it, you can fix the order by providing
# the seed, which is printed after each run.
# --seed 1234