Sha256: f5e5640147699b594bd0e96519c193b0f935555bc60cca80e9dd4418eccd0b53
Contents?: true
Size: 726 Bytes
Versions: 20
Compression:
Stored size: 726 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe RunitMan do def app RunitMan::App end before(:all) do RunitMan::App.set :active_services_directory, RunitMan::App::DEFAULT_ACTIVE_SERVICES_DIR RunitMan::App.set :all_services_directory, RunitMan::App::DEFAULT_ALL_SERVICES_DIR RunitMan::App.set :rackup_command_line, false RunitMan::App.set :read_write_mode, :readwrite RunitMan::App.set :runit_logger, RunitMan::App::DEFAULT_LOGGER end it "should respond to /" do get '/' last_response.should be_ok end it "should respond to /services" do stub(ServiceInfo).all { [] } get '/services' last_response.should be_ok end end
Version data entries
20 entries across 20 versions & 1 rubygems