Sha256: 2baa6806ae8a04369de8d82aba5ec9a6059da292d63a9c2767c0f9aaf3ae2cf6

Contents?: true

Size: 513 Bytes

Versions: 4

Compression:

Stored size: 513 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 sync:repair -y")
            subject
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flydata-0.7.19 spec/flydata/helper/action/repair_spec.rb
flydata-0.7.18 spec/flydata/helper/action/repair_spec.rb
flydata-0.7.17 spec/flydata/helper/action/repair_spec.rb
flydata-0.7.16 spec/flydata/helper/action/repair_spec.rb