Sha256: 6617f6087e921080279b0134c5b8f0399416686bb77455139e3dbd13e44347f5

Contents?: true

Size: 237 Bytes

Versions: 7

Compression:

Stored size: 237 Bytes

Contents

require "rack/test"

class AppTest < Test::Unit::TestCase
  include Rack::Test::Methods

  def app
    @app ||= Rack::Builder.parse_file("config.ru").first
  end

  def test_index
    get "/"
    assert_true(last_response.ok?)
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
pixhibitee-0.0.3 test/test-app.rb
pixhibitee-0.0.2 test/test-app.rb
pixhibitee-0.0.1 test/test-app.rb
feedcellar-web-0.3.1 test/test-app.rb
feedcellar-web-0.3.0 test/test-app.rb
feedcellar-web-0.2.0 test/test-app.rb
feedcellar-web-0.1.0 test/test-app.rb