Class: Ears::Testing::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/ears/testing.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



30
31
32
33
34
# File 'lib/ears/testing.rb', line 30

def initialize
  @max_captured_messages = 1000
  @auto_cleanup = true
  @strict_exchange_mocking = true
end

Instance Attribute Details

#auto_cleanupObject

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_messagesObject

Returns the value of attribute max_captured_messages.



26
27
28
# File 'lib/ears/testing.rb', line 26

def max_captured_messages
  @max_captured_messages
end

#strict_exchange_mockingObject

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