Use 'be_falsey' matcher

This commit is contained in:
Gavin Williams 2018-09-27 12:23:13 +01:00 committed by Chris Roberts
parent 87437317dc
commit 50a569747c
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ describe VagrantPlugins::Kernel_V2::SSHConfig do
describe "#default" do
it "defaults to vagrant username" do
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.username).to eq("vagrant")
end