Use 'be_falsey' matcher
This commit is contained in:
parent
87437317dc
commit
50a569747c
|
@ -8,7 +8,7 @@ describe VagrantPlugins::Kernel_V2::SSHConfig do
|
||||||
describe "#default" do
|
describe "#default" do
|
||||||
it "defaults to vagrant username" do
|
it "defaults to vagrant username" do
|
||||||
subject.finalize!
|
subject.finalize!
|
||||||
expect(subject.default.config).to eq(false)
|
expect(subject.default.config).to be_falsey
|
||||||
expect(subject.default.port).to eq(22)
|
expect(subject.default.port).to eq(22)
|
||||||
expect(subject.default.username).to eq("vagrant")
|
expect(subject.default.username).to eq("vagrant")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue