Sha256: 0d43a73bd42211745de4f04336612caf7619963a9d9cb66f97e1af8297f48350

Contents?: true

Size: 230 Bytes

Versions: 3

Compression:

Stored size: 230 Bytes

Contents

require 'spec_helper'

describe 'head' do
  it 'should allow testing on head requests' do
    mock_head('simple_head', {'foo' => 'foo'})
    head '/simple_head', {}
    expect_status(200)
    expect_header('foo', 'foo')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
airborne-0.1.15 spec/airborne/head_spec.rb
airborne-0.1.14 spec/airborne/head_spec.rb
airborne-0.1.13 spec/airborne/head_spec.rb