Sha256: 7c89c403f59467add161f94ee3d80b75a458f0d3e44a77029a0c64da088322ff
Contents?: true
Size: 263 Bytes
Versions: 9
Compression:
Stored size: 263 Bytes
Contents
require 'spec_helper' describe 'head' do it 'should allow testing on head requests' do mock_head('simple_head', {'foo' => 'foo'}) head '/simple_head', {} expect_status(200) expect_header('foo', 'foo') expect(json_body).to be(nil) end end
Version data entries
9 entries across 9 versions & 1 rubygems