Module: Alchemy::TestSupport::ConfigStubbing
- Defined in:
- lib/alchemy/test_support/config_stubbing.rb
Overview
Allows you to stub the Alchemy configuration in your specs
Require and include this file in your RSpec config.
RSpec.configure do |config|
config.include Alchemy::TestSupport::ConfigStubbing
end
Instance Method Summary collapse
-
#stub_alchemy_config(key, value) ⇒ Object
Stub a key from the Alchemy config.