Module: Spree::TestingSupport::Caching

Defined in:
lib/spree/testing_support/caching.rb

Instance Method Summary collapse

Instance Method Details

#cache_writesObject



6
7
8
# File 'lib/spree/testing_support/caching.rb', line 6

def cache_writes
  @cache_write_events
end

#clear_cache_eventsObject



10
11
12
# File 'lib/spree/testing_support/caching.rb', line 10

def clear_cache_events
  @cache_write_events = []
end