lib/wildcard_matchers/rspec.rb in wildcard_matchers-0.0.2 vs lib/wildcard_matchers/rspec.rb in wildcard_matchers-0.0.3
- old
+ new
@@ -1,5 +1,10 @@
require "rspec"
+require "wildcard_matchers"
+
+RSpec.configure do |c|
+ c.include WildcardMatchers
+end
RSpec::Matchers.define :wildcard_match do |expected|
match do |actual|
WildcardMatchers.wildcard_match?(actual, expected)
end