spec/spec_helper.rb in refinerycms-tweets-1.0.0 vs spec/spec_helper.rb in refinerycms-tweets-2.1.0

- old
+ new

@@ -14,9 +14,11 @@ RSpec.configure do |config| config.mock_with :rspec config.treat_symbols_as_metadata_keys_with_true_values = true config.filter_run :focus => true config.run_all_when_everything_filtered = true + config.expose_current_running_example_as :example + config.infer_spec_type_from_file_location! end # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories including factories. ([Rails.root.to_s] | ::Refinery::Plugins.registered.pathnames).map{|p|