Sha256: b15dc9f03a503cda6da0376603306d48937c46f07a615a378e0879783d164542

Contents?: true

Size: 437 Bytes

Versions: 62

Compression:

Stored size: 437 Bytes

Contents

module Dynflow
  module Testing
    class DummyPlannedAction
      attr_accessor :output, :plan_input
      include Mimic

      def initialize(klass)
        mimic! klass
        @output = ExecutionPlan::OutputReference.new(
            Testing.get_id.to_s, Testing.get_id, Testing.get_id)
      end

      def execute(execution_plan, event, from_subscription, *args)
        @plan_input = args
        self
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
dynflow-0.7.6 lib/dynflow/testing/dummy_planned_action.rb
dynflow-0.7.5 lib/dynflow/testing/dummy_planned_action.rb