Class: TestProf::LetItBe::Configuration
- Inherits:
-
Object
- Object
- TestProf::LetItBe::Configuration
- Defined in:
- lib/test_prof/recipes/rspec/let_it_be.rb
Instance Method Summary collapse
-
#alias_to(name, **default_args) ⇒ Object
Define an alias for ‘let_it_be` with the predefined options:.
- #default_modifiers ⇒ Object
- #register_modifier(key, &block) ⇒ Object
Instance Method Details
#alias_to(name, **default_args) ⇒ Object
16 17 18 |
# File 'lib/test_prof/recipes/rspec/let_it_be.rb', line 16 def alias_to(name, **default_args) LetItBe.define_let_it_be_alias(name, **default_args) end |
#default_modifiers ⇒ Object
26 27 28 |
# File 'lib/test_prof/recipes/rspec/let_it_be.rb', line 26 def default_modifiers @default_modifiers ||= {} end |