From ea8f6b8d04ce02fb7e0940c31b01c1ae3962d28c Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 9 Dec 2014 19:32:14 -0800 Subject: [PATCH] pushes/atlas: fix tests --- test/unit/plugins/pushes/atlas/config_test.rb | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/test/unit/plugins/pushes/atlas/config_test.rb b/test/unit/plugins/pushes/atlas/config_test.rb index 1600e967a..1b2695ba9 100644 --- a/test/unit/plugins/pushes/atlas/config_test.rb +++ b/test/unit/plugins/pushes/atlas/config_test.rb @@ -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!