spec/spec_helper.rb in exception_handler-0.2.7 vs spec/spec_helper.rb in exception_handler-0.3.0
- old
+ new
@@ -2,9 +2,28 @@
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
+
+#Coveralls
+require 'coveralls'
+Coveralls.wear!
+
+#Env
+ENV["RAILS_ENV"] = 'test'
+
+#Rails
+#require 'rails'
+#require 'active_support'
+
+#For Generators
+require "rails/generators/test_case"
+require "generators/exception_handler/install_generator"
+
+
+###########################################
+
RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true
config.run_all_when_everything_filtered = true
config.filter_run :focus
\ No newline at end of file