Sha256: acfacdd154778b6aa3a88a4eb8b0ebcae60aab265a4f4d4c090196139af84b95

Contents?: true

Size: 477 Bytes

Versions: 14

Compression:

Stored size: 477 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(config).execute }
          it "executes the stop action" do
            expect(Open3).to receive(:capture3).with({}, "#{FLYDATA_CMD_PATH} stop")
            subject
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
flydata-0.8.10.2 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.10.1 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.9.11 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.10 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.9 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.8 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.7 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.6 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.5 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.4 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.3 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.2 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.1 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.8.0 spec/flydata/helper/action/stop_agent_spec.rb