spec/invoker/invoker_spec.rb in invoker-1.4.1 vs spec/invoker/invoker_spec.rb in invoker-1.5.1

- old
+ new

@@ -11,10 +11,11 @@ Invoker.expects(:ruby_platform).returns("i686-linux") expect(Invoker.darwin?).to be_falsey end end - describe "#can_run_balancer?" do + describe "#can_run_balancer?", fakefs: true do + before { FileUtils.mkdir_p(Invoker::Power::Config.config_dir) } it "should return false if setup command was not run" do expect(Invoker.can_run_balancer?).to be_falsey end it "should return true if setup was run properly" do