Fix failing specs
This commit is contained in:
parent
1cfcb08552
commit
9ec16774ac
|
@ -77,7 +77,7 @@ describe VagrantPlugins::LoginCommand::Client do
|
|||
stub_request(:post, "#{Vagrant.server_url}/api/v1/authenticate").
|
||||
to_return(status: 401, body: "")
|
||||
|
||||
expect(subject.login("foo", "bar")).to be_nil
|
||||
expect(subject.login("foo", "bar")).to be(false)
|
||||
end
|
||||
|
||||
it "raises an exception if it can't reach the sever" do
|
||||
|
|
|
@ -59,6 +59,7 @@ describe VagrantPlugins::AtlasPush::Config do
|
|||
allow(machine).to receive(:env)
|
||||
.and_return(double("env",
|
||||
root_path: "",
|
||||
data_dir: Pathname.new(""),
|
||||
))
|
||||
|
||||
subject.app = "sethvargo/bacon"
|
||||
|
|
Loading…
Reference in New Issue