test/test_apps.rb in vegas-0.0.4.1 vs test/test_apps.rb in vegas-0.1.0

- old
+ new

@@ -1,6 +1,6 @@ -class TestApp1 < Sinatra::Default +class TestApp1 < Sinatra::Base get '/' do 'TestApp1 Index' end @@ -8,15 +8,19 @@ 'TestApp1 route' end end -class TestApp2 < Sinatra::Default +class TestApp2 < Sinatra::Base get '/' do 'TestApp2 Index' end get '/route' do 'TestApp2 route' end -end +end + +RackApp1 = Proc.new {|env| + [200, {'Content-Type' => 'text/plain'}, ["This is an app. #{env.inspect}"]] +} \ No newline at end of file