spec/unit/orchestrated_spec.rb
# TODO: reimplement the next three functions as Factory Girl factories!
reimplement the next three functions as Factory Girl factories!
reimplement the next three functions as Factory Girl factories!
def create_orchestration
        Orchestrated::Orchestration.new.tap do |orchestration|
          orchestration.handler = Orchestrated::Handler.new( f, :do_first_thing, [1])
          orchestration.save!
        end
      end
def create_orchestration Orchestrated :: Orchestration . new . tap do | orchestration | orchestration . handler = Orchestrated :: Handler . new ( f , :do_first_thing , [ 1 ] ) orchestration . save! end end
TODO: reimplement the next three functions as Factory Girl factories!
TODO : reimplement the next three functions as Factory Girl factories!