Sha256: 9481a312621df79439dbcbada09514e4c6536c8afa71dbb14b0b787fae796679

Contents?: true

Size: 239 Bytes

Versions: 3

Compression:

Stored size: 239 Bytes

Contents

Then(/^the endpoint should receive request header "(.*?)" with value "(.*?)"$/) do |name, value|
  headers=@response_headers_channel.receive.first
  # raise headers.inspect
  headers.should have_key name
  headers[name].should == value
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
restful_mapper-0.0.3 features/step_definitions/basic_authentication_steps.rb
restful_mapper-0.0.2 features/step_definitions/basic_authentication_steps.rb
restful_mapper-0.0.1 features/step_definitions/basic_authentication_steps.rb