features/support/hooks.rb in ruby_odata-0.1.0 vs features/support/hooks.rb in ruby_odata-0.1.1

- old
+ new

@@ -1,4 +1,5 @@ Before do - Sham.reset - RestClient.post "http://#{WEBSERVER}:#{HTTP_PORT_NUMBER}/SampleService/RubyOData.svc/CleanDatabaseForTesting", {} + VCR.use_cassette("clean_database_for_testing") do + RestClient.post "http://#{WEBSERVER}:#{HTTP_PORT_NUMBER}/SampleService/RubyOData.svc/CleanDatabaseForTesting", {} + end end \ No newline at end of file