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