spec/spec_helper.rb in hash_mapper-0.1.2 vs spec/spec_helper.rb in hash_mapper-0.1.3

- old
+ new

@@ -3,12 +3,15 @@ # Require this file using `require "spec_helper.rb"` to ensure that it is only # loaded once. # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration 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 + config.filter_run focus: true + + config.expect_with :rspec do |c| + c.syntax = :should + end end $:.unshift(File.dirname(__FILE__) + '/../lib') require 'hash_mapper'