Skip to content

Commit

Permalink
add in default routes for rails pre-2.3 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smtlaissezfaire committed Aug 3, 2010
1 parent f279064 commit 75d750d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/markaby/rails/spec_helper.rb
Expand Up @@ -19,6 +19,10 @@

ActionController::Routing::Routes.draw do |map|
map.new_user "/users/new", :controller => "users", :action => "new"

# default routes
map.connect ':controller/:action/:id.:format'
map.connect ':controller/:action/:id'
end
else
warn "Skipping rails specific tests"
Expand Down

0 comments on commit 75d750d

Please sign in to comment.