Module: RubyReactor::RSpec::Matchers
- Defined in:
- lib/ruby_reactor/rspec/matchers.rb
Overview
rubocop:disable Metrics/ModuleLength
Class Method Summary collapse
-
.coordination_adapter ⇒ Object
——————————————————————— Lock / Semaphore / Rate-limit / Period state matchers ———————————————————————.
Class Method Details
.coordination_adapter ⇒ Object
Lock / Semaphore / Rate-limit / Period state matchers
These assert against the live Redis state via the configured storage adapter, so they work for any test that has actually exercised the reactor (or interacted with the primitives directly).
263 264 265 |
# File 'lib/ruby_reactor/rspec/matchers.rb', line 263 def self.coordination_adapter RubyReactor.configuration.storage_adapter end |