spec/ratis/area_spec.rb in ratis-3.4.3 vs spec/ratis/area_spec.rb in ratis-3.5.0
- old
+ new
@@ -1,16 +1,8 @@
require 'spec_helper'
describe Ratis::Area do
- before do
- Ratis.reset
- Ratis.configure do |config|
- config.endpoint = 'http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi'
- config.namespace = 'PX_WEB'
- end
- end
-
describe '#all', vcr: {} do
it 'only makes one request' do
# false just to stop further processing of response
Ratis::Request.should_receive(:get).once.and_call_original
Ratis::Area.all
@@ -37,7 +29,6 @@
expect(area.area).to eq('YG')
expect(area.description).to eq('Youngtown')
end
end
-
-end
\ No newline at end of file
+end