require 'spec_helper' require_relative '../helper_shared_context' require 'flydata/helper/action/repair' module Flydata module Helper module Action describe Repair do include_context 'helper context' describe "#execute" do subject { described_class.new(config).execute } it "executes the repair action" do expect(Open3).to receive(:capture3).with({}, "#{FLYDATA_CMD_PATH} sync:repair -y") subject end end end end end end