Sha256: aee12ce5551ba9c3e2d74157c279156569de8f1166fad52ba5b7900ba577c88f

Contents?: true

Size: 485 Bytes

Versions: 21

Compression:

Stored size: 485 Bytes

Contents

# NetRecorder.config do |config|
#   config.cache_file = "fakeweb_cache"   
#   if ENV['RECORD_WEB']
#     config.record_net_calls = true
#   else
#     config.fakeweb = true
#     FakeWeb.allow_net_connect = false
#   end
# end 
# 
# at_exit {NetRecorder.cache! if NetRecorder.recording?}
# 
# Before do |scenario|
#   if NetRecorder.recording?
#     NetRecorder.scope = scenario.name
#   else
#     FakeWeb.clean_registry
#     NetRecorder.register_scope(scenario.name)
#   end
# end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
360_services-0.0.3 features/support/netrecorder.rb