spec/application_spec.rb in rasti-web-0.0.5 vs spec/application_spec.rb in rasti-web-0.0.6

- old
+ new

@@ -42,9 +42,13 @@ def app TestApp end + it 'List all routes' do + app.all_routes.must_equal 'GET' => ['/'] + end + it 'Defined route' do get '/' last_response.status.must_equal 200 last_response['Content-Type'].must_equal 'text/html; charset=utf-8' \ No newline at end of file