Module: Shark::RSpec::FakeDoubleOptIn

Defined in:
lib/shark/rspec/fake_double_opt_in.rb,
lib/shark/rspec/fake_double_opt_in/request.rb,
lib/shark/rspec/fake_double_opt_in/object_cache.rb

Defined Under Namespace

Classes: ObjectCache, Request

Class Method Summary collapse

Class Method Details

.resetObject



14
15
16
# File 'lib/shark/rspec/fake_double_opt_in.rb', line 14

def self.reset
  ObjectCache.clear
end

.setupObject



9
10
11
12
# File 'lib/shark/rspec/fake_double_opt_in.rb', line 9

def self.setup
  ObjectCache.clear
  Request.setup
end