1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/spec/test_app.rb
2009-11-05 17:35:45 +01:00

24 lines
No EOL
329 B
Ruby

class TestApp < Sinatra::Base
set :root, File.dirname(__FILE__)
set :static, true
get '/' do
'Hello world!'
end
get '/foo' do
'Another World'
end
get '/with_html' do
erb :with_html
end
get '/with_js' do
erb :with_js
end
get '/with_simple_html' do
erb :with_simple_html
end
end