Module: Subroutine::Factory::SpecHelper

Defined in:
lib/subroutine/factory/spec_helper.rb

Instance Method Summary collapse

Instance Method Details

#factory(*args) ⇒ Object



4
5
6
# File 'lib/subroutine/factory/spec_helper.rb', line 4

def factory(*args)
  ::Subroutine::Factory.create(*args)
end

#factory!(*args) ⇒ Object



8
9
10
# File 'lib/subroutine/factory/spec_helper.rb', line 8

def factory!(*args)
  factory(*args)
end