spec/airborne/head_spec.rb in airborne-0.1.15 vs spec/airborne/head_spec.rb in airborne-0.1.16
- old
+ new
@@ -1,10 +1,10 @@
require 'spec_helper'
describe 'head' do
it 'should allow testing on head requests' do
- mock_head('simple_head', {'foo' => 'foo'})
+ mock_head('simple_head', 'foo' => 'foo')
head '/simple_head', {}
- expect_status(200)
+ expect_status 200
expect_header('foo', 'foo')
end
end