spec/invoker/power/setup_spec.rb in invoker-1.0.4 vs spec/invoker/power/setup_spec.rb in invoker-1.1.0
- old
+ new
@@ -70,10 +70,10 @@
describe "uninstalling firewall rules" do
it "should uninstall firewall rules and remove all files created by setup" do
setup = Invoker::Power::Setup.new
- HighLine.any_instance.expects(:agree).returns(true)
+ Invoker::CLI::Question.expects(:agree).returns(true)
setup.expects(:remove_resolver_file).once
setup.expects(:unload_firewall_rule).with(true).once
setup.expects(:flush_dns_rules).once
Invoker::Power::Config.expects(:delete).once