
- The defaults of using "do ... end" for multi-line blocks everywhere is good, better than switching everything to braces everywhere.
18 lines
356 B
Ruby
18 lines
356 B
Ruby
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
require_relative "shared_examples"
|
|
|
|
describe UnpackStrategy::Bazaar do
|
|
let(:repo) do
|
|
mktmpdir.tap do |repo|
|
|
FileUtils.touch repo/"test"
|
|
(repo/".bzr").mkpath
|
|
end
|
|
end
|
|
let(:path) { repo }
|
|
|
|
include_examples "UnpackStrategy::detect"
|
|
include_examples "#extract", children: ["test"]
|
|
end
|