Sha256: 53de42a7d34a7b569bd26caa6af282fa3942a14a2ebb853c2007c89d6851755f

Contents?: true

Size: 221 Bytes

Versions: 17

Compression:

Stored size: 221 Bytes

Contents

require 'spec_helper'

describe 'patch' do
  it 'should allow testing on patch requests' do
    mock_patch('simple_patch')
    patch '/simple_patch', {}
    expect_json_types({status: :string, someNumber: :int})
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
airborne-0.1.15 spec/airborne/patch_spec.rb
airborne-0.1.14 spec/airborne/patch_spec.rb
airborne-0.1.13 spec/airborne/patch_spec.rb
airborne-0.1.12 spec/airborne/patch_spec.rb
airborne-0.1.11 spec/airborne/patch_spec.rb
airborne-0.1.10 spec/airborne/patch_spec.rb
airborne-0.1.9 spec/airborne/patch_spec.rb
airborne-0.1.8 spec/airborne/patch_spec.rb
airborne-0.1.7 spec/airborne/patch_spec.rb
airborne-0.1.6 spec/airborne/patch_spec.rb
airborne-0.1.5 spec/airborne/patch_spec.rb
airborne-0.1.4 spec/airborne/patch_spec.rb
airborne-0.1.3 spec/airborne/patch_spec.rb
airborne-0.1.2 spec/airborne/patch_spec.rb
airborne-0.1.1 spec/airborne/patch_spec.rb
airborne-0.0.23 spec/airborne/patch_spec.rb
airborne-0.0.22 spec/airborne/patch_spec.rb