spec/spec_helper.rb in moneta-api-1.13.0 vs spec/spec_helper.rb in moneta-api-2.0.0.rc1
- old
+ new
@@ -42,12 +42,6 @@
config.around(:each, :vcr) do |example|
name = example.metadata[:full_description].split(/\s+/, 2).join('/').downcase.gsub(/[^\w\/]+/, '_')
options = example.metadata.select{ |key| [ :record, :match_requests_on ].member?(key) }
VCR.use_cassette(name, options) { example.call }
end
-
- config.before(:each) do
- allow_any_instance_of(Moneta::Api::Service).to receive(:wsdl).and_return(
- Nokogiri::XML(File.read('spec/support/wsdl'))
- )
- end
end