spec/invoker/power/config_spec.rb in invoker-1.4.1 vs spec/invoker/power/config_spec.rb in invoker-1.5.1

- old
+ new

@@ -1,9 +1,10 @@ require "spec_helper" -describe "Invoker Power configuration" do +describe "Invoker Power configuration", fakefs: true do describe "#create" do it "should create a config file given a hash" do + FileUtils.mkdir_p(inv_conf_dir) config = Invoker::Power::Config.create( dns_port: 1200, http_port: 1201, ipfw_rule_number: 010 ) expect(File.exist?(Invoker::Power::Config.config_file)).to be_truthy