Sha256: 9e2a7ec4d9a97c22b8083e301449ecd815d0b576afd187cf09b99127594328bf

Contents?: true

Size: 207 Bytes

Versions: 8

Compression:

Stored size: 207 Bytes

Contents

require 'spec_helper'

describe 'post' do
	it 'should allow testing on post requests' do
		mock_post('simple_post')
		post '/simple_post', {}
		expect_json_types({status: :string, someNumber: :int})
	end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
airborne-0.0.21 spec/airborne/post_spec.rb
airborne-0.0.20 spec/airborne/post_spec.rb
airborne-0.0.19 spec/airborne/post_spec.rb
airborne-0.0.18 spec/airborne/post_spec.rb
airborne-0.0.17 spec/airborne/post_spec.rb
airborne-0.0.16 spec/airborne/post_spec.rb
airborne-0.0.15 spec/airborne/post_spec.rb
airborne-0.0.14 spec/airborne/post_spec.rb