Sha256: 363e2d8a24e19cd7a6519204f0a85ae3ca9a211d08d4fab31a22ecd81d656912

Contents?: true

Size: 471 Bytes

Versions: 35

Compression:

Stored size: 471 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 stop")
            subject
          end
        end
      end
    end
  end
end      

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
flydata-0.7.19 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.18 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.17 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.16 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.15 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.14 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.13 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.12 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.11 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.10 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.9 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.8 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.7 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.6 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.5 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.4 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.2.1 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.2 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.1 spec/flydata/helper/action/stop_agent_spec.rb
flydata-0.7.0 spec/flydata/helper/action/stop_agent_spec.rb