2020-10-10 14:59:39 +02:00

18 lines
353 B
Ruby

# typed: false
# frozen_string_literal: true
require_relative "shared_examples"
describe UnpackStrategy::Bazaar do
let(:repo) {
mktmpdir.tap do |repo|
FileUtils.touch repo/"test"
(repo/".bzr").mkpath
end
}
let(:path) { repo }
include_examples "UnpackStrategy::detect"
include_examples "#extract", children: ["test"]
end