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