Sha256: 90a571c42ef03753ac85050b1bcc65d2a3d398c5a7c8a60e9999cc7542fe7e13

Contents?: true

Size: 525 Bytes

Versions: 14

Compression:

Stored size: 525 Bytes

Contents

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

Version data entries

14 entries across 14 versions & 1 rubygems

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