spec/spec_helper.rb in wildcard_matchers-0.0.4 vs spec/spec_helper.rb in wildcard_matchers-0.1.0

- old
+ new

@@ -3,15 +3,16 @@ require "wildcard_matchers/rspec" Dir[File.expand_path("support/**/*.rb", File.dirname(__FILE__))].each {|f| require f } require "pry" +require "tapp" RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true end # global debug function # usage: # wildcard_match?(actual, expected, &$debug) -$debug = proc {|message| puts message } +$debug = proc {|errors| puts errors }