require 'helper' module Nutella class TestNutellaFramework < MiniTest::Test # should "run help correctly" do # Nutella.init # Nutella.executeCommand "help" # end # should "Verify the installation" do # Nutella.init # Nutella.executeCommand "checkup" # # e = assert_raises HelpOutException do # # Nutella.executeCommand "checkup" # # end # end # should "read the broker parameter correctly" do # Nutella.store_constants # $stdout = StringIO.new # NutellaCLI.executeCommand("broker") # assert_equal "Currently using broker: localhost\n", $stdout.string # end end end