spec/lib/xway/api/http_spec.rb in xway-0.0.1.beta vs spec/lib/xway/api/http_spec.rb in xway-0.0.2.beta

- old
+ new

@@ -13,10 +13,10 @@ end it 'wraps errors' do HTTParty.stub('get') { raise StandardError, 'foo' } expect { subject.request 'http://foo', request }.to\ - raise_error(Xway::Error) + raise_error(Xway::ConnectionError) end describe 'calls HTTParty' do it do HTTParty.should_receive('get').with('http://foo/bar',