Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed tests after rebase

  • Loading branch information...
commit ffa2acad5cee6b8c09ac95e973668d6d1a6b31e0 1 parent 9af189a
@drogus drogus authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 railties/test/railties/mounted_engine_test.rb
View
7 railties/test/railties/mounted_engine_test.rb
@@ -56,10 +56,9 @@ class Engine < ::Rails::Engine
@plugin.write "config/routes.rb", <<-RUBY
Blog::Engine.routes.draw do
- resources :posts do
- get :generate_application_route
- get :application_route_in_view
- end
+ resources :posts
+ match '/generate_application_route', :to => 'posts#generate_application_route'
+ match '/application_route_in_view', :to => 'posts#application_route_in_view'
end
RUBY
Please sign in to comment.
Something went wrong with that request. Please try again.