Method: ConflowSpec::TestFlow.prepended

Defined in:
lib/conflow_spec/test_flow.rb

.prepended(base) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Adds name and queue attributes on test class



26
27
28
29
30
# File 'lib/conflow_spec/test_flow.rb', line 26

def prepended(base)
  base.singleton_class.instance_exec do
    attr_accessor :name, :queue
  end
end