spec/invoker/power/setup/osx_setup_spec.rb in invoker-1.2.0.pre1 vs spec/invoker/power/setup/osx_setup_spec.rb in invoker-1.2.0.pre2
- old
+ new
@@ -18,10 +18,10 @@
end
end
describe "when a setup file exists" do
it "should throw error about existing file" do
- File.open(Invoker::Power::Config::CONFIG_LOCATION, "w") {|fl|
+ File.open(Invoker::Power::Config.config_file, "w") {|fl|
fl.write("foo test")
}
Invoker::Power::Setup.any_instance.expects(:setup_invoker).never
Invoker::Power::Setup.install()
end