Add test for --binaries default value.
This commit is contained in:
parent
d025e0e7ab
commit
b91d0254bb
@ -13,6 +13,13 @@ describe Hbc::CLI, :cask do
|
|||||||
])
|
])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
context "when no option is specified" do
|
||||||
|
it "--binaries is true by default" do
|
||||||
|
command = Hbc::CLI::Install.new("some-cask")
|
||||||
|
expect(command.binaries?).to be true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
context "::run" do
|
context "::run" do
|
||||||
let(:noop_command) { double("CLI::Noop") }
|
let(:noop_command) { double("CLI::Noop") }
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user