spec/invoker/config_spec.rb in invoker-1.2.0.pre1 vs spec/invoker/config_spec.rb in invoker-1.2.0.pre2

- old
+ new

@@ -112,10 +112,10 @@ Invoker::Power::Config.expects(:load_config).never Invoker::Parsers::Config.new(@file.path, 9000) end it "loads config if platform is darwin and power config file exists" do - File.open(Invoker::Power::Config::CONFIG_LOCATION, "w") { |fl| fl.puts "sample" } + File.open(Invoker::Power::Config.config_file, "w") { |fl| fl.puts "sample" } Invoker::Power::Config.expects(:load_config).once Invoker::Parsers::Config.new(@file.path, 9000) end end