Sha256: 25387af3b475044205dd59081c159eb7bc52f8bd496f53af19ecc97a3fe023a4

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

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

describe RunitMan do
  def app
    RunitMan
  end

  before(:all) do
    RunitMan.set :read_write_mode,           :readwrite
  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

4 entries across 4 versions & 1 rubygems

Version Path
runit-man-2.3.18 spec/functional/runit-man_spec.rb
runit-man-2.3.17 spec/functional/runit-man_spec.rb
runit-man-2.3.16 spec/functional/runit-man_spec.rb
runit-man-2.3.15 spec/functional/runit-man_spec.rb