Fix failing specs

This commit is contained in:
Seth Vargo 2014-12-09 00:08:23 -08:00
parent 1cfcb08552
commit 9ec16774ac
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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"