Module: Storexplore::Testing
- Defined in:
- lib/storexplore/testing/configuration.rb,
lib/storexplore/testing/dummy_data.rb,
lib/storexplore/testing/dummy_store.rb,
lib/storexplore/testing/dummy_store_api.rb,
lib/storexplore/testing/api_shared_context.rb,
lib/storexplore/testing/api_shared_examples.rb,
lib/storexplore/testing/dummy_store_constants.rb,
lib/storexplore/testing/dummy_store_generator.rb
Overview
Extra facilities to ease testing custom store APIs.
Defined Under Namespace
Classes: Configuration, DummyData, DummyStore, DummyStoreConstants, DummyStoreGenerator
Class Method Summary collapse
-
.config {|@config| ... } ⇒ Object
Call this with a block to initialize Storexplore::Testing.
Class Method Details
.config {|@config| ... } ⇒ Object
Call this with a block to initialize Storexplore::Testing. The given block receives the Storexplore::Testing::Configuration as argument.
31 32 33 34 35 |
# File 'lib/storexplore/testing/configuration.rb', line 31 def self.config @config ||= Configuration.new yield @config if block_given? @config end |