Sha256: a0f56c7cff73b03b5a9fad16ec70674dcefe809a40c6f27a80df2dfbec7485b8
Contents?: true
Size: 563 Bytes
Versions: 14
Compression:
Stored size: 563 Bytes
Contents
require 'spec_helper' require_relative '../helper_shared_context' require 'flydata/helper/action/restart_agent' module Flydata module Helper module Action describe RestartAgent do include_context 'helper context' describe "#execute" do subject { described_class.new(config).execute } it "executes the restart action" do expect(Open3).to receive(:capture3).with({}, "#{FLYDATA_CMD_PATH} restart --skip-helper -y --auto-create") subject end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems