spec/api-client/dispatcher_spec.rb in api-client-2.4.0 vs spec/api-client/dispatcher_spec.rb in api-client-2.5.0.rc1
- old
+ new
@@ -25,10 +25,10 @@
describe '.patch' do
it 'should return the request' do
ApiClient::Dispatcher.patch('http://api.example.com/user/5', {}, {}).body.should == ('asd')
end
- end if ApiClient::Dispatcher.respond_to?(:patch)
+ end
describe '.delete' do
it 'should return the request' do
ApiClient::Dispatcher.delete('http://api.example.com/user/5', {}).body.should == ('asd')
end
\ No newline at end of file