Sha256: f31a32dad36d7cae19c1c687eda25eed5dd36a8d2e330410d93ad91df50e34fa

Contents?: true

Size: 242 Bytes

Versions: 30

Compression:

Stored size: 242 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

30 entries across 30 versions & 2 rubygems

Version Path
airborne-0.2.4 spec/airborne/options_spec.rb
airborne-0.2.3 spec/airborne/options_spec.rb
airborne-0.2.2 spec/airborne/options_spec.rb
airborne-0.2.1 spec/airborne/options_spec.rb
airborne-0.2.0 spec/airborne/options_spec.rb
airborne-0.1.20 spec/airborne/options_spec.rb
airborne-0.1.19 spec/airborne/options_spec.rb
airborne-0.1.18 spec/airborne/options_spec.rb
airborne-0.1.17 spec/airborne/options_spec.rb
airborne-0.1.16 spec/airborne/options_spec.rb