spec/spec_helper.rb in sendgrid-web-0.0.1 vs spec/spec_helper.rb in sendgrid-web-0.0.5
- old
+ new
@@ -5,10 +5,14 @@
# 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
+
RSpec.configure do |config|
+
+ Dir["./spec/support/**/*.rb"].sort.each {|f| require f}
+
config.treat_symbols_as_metadata_keys_with_true_values = true
config.run_all_when_everything_filtered = true
config.filter_run :focus
# Run specs in random order to surface order dependencies. If you find an