Sha256: aa4985da8ad3c4cacf0354bd0c89317b42b2b6ea200ef9e4b2cfd17319c59750

Contents?: true

Size: 315 Bytes

Versions: 5

Compression:

Stored size: 315 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe RunitMan do
  def app
    RunitMan
  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

5 entries across 5 versions & 1 rubygems

Version Path
runit-man-2.3.12 spec/functional/runit-man_spec.rb
runit-man-2.3.11 spec/functional/runit-man_spec.rb
runit-man-2.3.9 spec/functional/runit-man_spec.rb
runit-man-2.3.8 spec/functional/runit-man_spec.rb
runit-man-2.3.7 spec/functional/runit-man_spec.rb