class RSpecApi::Matchers::Headers::Matcher
Public Instance Methods
description()
click to toggle source
# File lib/rspec-api/matchers/headers/matcher.rb, line 12 def description %Q{be a non-empty Hash} end
matches?(response)
click to toggle source
Calls superclass method
# File lib/rspec-api/matchers/headers/matcher.rb, line 8 def matches?(response) super && headers.is_a?(Hash) && headers.any? end
Private Instance Methods
actual()
click to toggle source
# File lib/rspec-api/matchers/headers/matcher.rb, line 18 def actual headers end
match()
click to toggle source
# File lib/rspec-api/matchers/headers/matcher.rb, line 22 def match 'headers' end