Class: Restspec::HeaderTests::HaveKeyTest

Inherits:
Object
  • Object
show all
Defined in:
lib/restspec/rspec/matchers/have_header.rb

Instance Method Summary collapse

Instance Method Details

#perform(key, headers) ⇒ Object



25
26
27
# File 'lib/restspec/rspec/matchers/have_header.rb', line 25

def perform(key, headers)
  headers.has_key?(key)
end