spec/flydata/helper/action/repair_spec.rb in flydata-0.7.19 vs spec/flydata/helper/action/repair_spec.rb in flydata-0.8.0
- old
+ new
@@ -9,10 +9,10 @@
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")
+ expect(Open3).to receive(:capture3).with({}, "#{FLYDATA_CMD_PATH} sync:repair -y")
subject
end
end
end
end