spec/support/matchers.rb in rspec-collection_matchers-0.0.4 vs spec/support/matchers.rb in rspec-collection_matchers-1.0.0
- old
+ new
@@ -1,6 +1,4 @@
-require 'rspec-expectations'
-
RSpec::Matchers.define :include_method do |expected|
match do |actual|
actual.map { |m| m.to_s }.include?(expected.to_s)
end
end