Sha256: ed3ef5d5f0a58c12ab5f4e332eb43d330c2c947d010751e7bdcff21e1bd2f5fc

Contents?: true

Size: 245 Bytes

Versions: 11

Compression:

Stored size: 245 Bytes

Contents

require 'spec_helper'

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
airborne-0.1.15 spec/airborne/options_spec.rb
airborne-0.1.14 spec/airborne/options_spec.rb
airborne-0.1.13 spec/airborne/options_spec.rb
airborne-0.1.12 spec/airborne/options_spec.rb
airborne-0.1.11 spec/airborne/options_spec.rb
airborne-0.1.10 spec/airborne/options_spec.rb
airborne-0.1.9 spec/airborne/options_spec.rb
airborne-0.1.8 spec/airborne/options_spec.rb
airborne-0.1.7 spec/airborne/options_spec.rb
airborne-0.1.6 spec/airborne/options_spec.rb
airborne-0.1.5 spec/airborne/options_spec.rb