Skip to content

Commit

Permalink
Lotus::Router.draw => Lotus::Router.new
Browse files Browse the repository at this point in the history
  • Loading branch information
jodosha committed Jan 27, 2014
1 parent 6f73962 commit af275cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/integration/mime_type_test.rb
@@ -1,7 +1,7 @@
require 'test_helper'
require 'lotus/router'

MimeRoutes = Lotus::Router.draw do
MimeRoutes = Lotus::Router.new do
get '/', to: 'mimes#default'
get '/custom', to: 'mimes#custom'
end
Expand Down
2 changes: 1 addition & 1 deletion test/integration/routing_test.rb
@@ -1,7 +1,7 @@
require 'test_helper'
require 'lotus/router'

Routes = Lotus::Router.draw do
Routes = Lotus::Router.new do
get '/', to: 'root'
get '/team', to: 'about#team'
get '/contacts', to: 'about#contacts'
Expand Down
2 changes: 1 addition & 1 deletion test/integration/sessions_test.rb
Expand Up @@ -2,7 +2,7 @@
require 'rack/test'
require 'lotus/router'

SessionRoutes = Lotus::Router.draw do
SessionRoutes = Lotus::Router.new do
get '/', to: 'dashboard#index'
post '/login', to: 'sessions#create'
delete '/logout', to: 'sessions#destroy'
Expand Down

0 comments on commit af275cf

Please sign in to comment.