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.3.7 spec/airborne/options_spec.rb
airborne-0.3.6 spec/airborne/options_spec.rb
airborne-0.3.5 spec/airborne/options_spec.rb
hops-airborne-0.2.17 spec/airborne/options_spec.rb
airborne-0.3.4 spec/airborne/options_spec.rb
airborne-0.3.3 spec/airborne/options_spec.rb
airborne-0.3.2 spec/airborne/options_spec.rb
airborne-0.3.1 spec/airborne/options_spec.rb
airborne-0.3.0 spec/airborne/options_spec.rb
hops-airborne-0.2.16 spec/airborne/options_spec.rb
hops-airborne-0.2.15 spec/airborne/options_spec.rb
airborne-0.2.13 spec/airborne/options_spec.rb
airborne-0.2.12 spec/airborne/options_spec.rb
airborne-0.2.11 spec/airborne/options_spec.rb
airborne-0.2.10 spec/airborne/options_spec.rb
airborne-0.2.9 spec/airborne/options_spec.rb
airborne-0.2.8 spec/airborne/options_spec.rb
airborne-0.2.7 spec/airborne/options_spec.rb
airborne-0.2.6 spec/airborne/options_spec.rb
airborne-0.2.5 spec/airborne/options_spec.rb