Sha256: 37019a2f1b8a2fc4dae68f939726c9f4271a163d3a94c981472f09bf9dd6c243

Contents?: true

Size: 476 Bytes

Versions: 24

Compression:

Stored size: 476 Bytes

Contents

require 'spec_helper'
require_relative '../helper_shared_context'

module Flydata
  module Helper
    module Action
      describe StopAgent do
        include_context 'helper context'

        describe "#execute" do
          subject { described_class.new(helper_conf).execute }
          it "executes the stop action" do
            expect(Open3).to receive(:capture3).with({}, "flydata stop")
            subject
          end
        end
      end
    end
  end
end      

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
flydata-0.5.21 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.20 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.17 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.16 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.15 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.14 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.13 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.12 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.11 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.10 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.9 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.8 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.7 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.6 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.5 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.4 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.3 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.2 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.1 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.5.0 spec/flydata/helper/action/stop_agent_spec.rb