pushes/atlas: fix tests

This commit is contained in:
Mitchell Hashimoto 2014-12-09 19:32:14 -08:00
parent 2b8489f205
commit ea8f6b8d04
1 changed files with 4 additions and 7 deletions

View File

@ -12,6 +12,10 @@ describe VagrantPlugins::AtlasPush::Config do
let(:machine) { double("machine") }
before do
subject.token = "foo"
end
describe "#address" do
it "defaults to nil" do
subject.finalize!
@ -19,13 +23,6 @@ describe VagrantPlugins::AtlasPush::Config do
end
end
describe "#token" do
it "defaults to nil" do
subject.finalize!
expect(subject.token).to be(nil)
end
end
describe "#app" do
it "defaults to nil" do
subject.finalize!