Class: Ears::Testing::Configuration
- Inherits:
-
Object
- Object
- Ears::Testing::Configuration
- Defined in:
- lib/ears/testing.rb
Instance Attribute Summary collapse
-
#auto_cleanup ⇒ Object
Returns the value of attribute auto_cleanup.
-
#max_captured_messages ⇒ Object
Returns the value of attribute max_captured_messages.
-
#strict_exchange_mocking ⇒ Object
Returns the value of attribute strict_exchange_mocking.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
30 31 32 33 34 |
# File 'lib/ears/testing.rb', line 30 def initialize = 1000 @auto_cleanup = true @strict_exchange_mocking = true end |
Instance Attribute Details
#auto_cleanup ⇒ Object
Returns the value of attribute auto_cleanup.
26 27 28 |
# File 'lib/ears/testing.rb', line 26 def auto_cleanup @auto_cleanup end |
#max_captured_messages ⇒ Object
Returns the value of attribute max_captured_messages.
26 27 28 |
# File 'lib/ears/testing.rb', line 26 def end |
#strict_exchange_mocking ⇒ Object
Returns the value of attribute strict_exchange_mocking.
26 27 28 |
# File 'lib/ears/testing.rb', line 26 def strict_exchange_mocking @strict_exchange_mocking end |