Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.286 kB
RSpec::Matchers.define :be_contained_in do |expected|
match do |actual|
@query = ParserSupport.parser.find_by_selector(actual, expected)
@query.any?
end
failure_message_for_should do |actual|
%{expected selector #{actual} to be contained in #{expected}}
end
end
Jump to Line
Something went wrong with that request. Please try again.