aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-08-05 16:30:08 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2014-08-05 16:30:08 -0700
commit9a36fac810246dad32fb4b88619dda805315d5e7 (patch)
tree2495dfc6babde86ffa22de5f86ebdf8df91b0c1b /actionpack/test/dispatch
parent70673759a036746987eda58e8b77cf723938d82c (diff)
downloadrails-9a36fac810246dad32fb4b88619dda805315d5e7.tar.gz
rails-9a36fac810246dad32fb4b88619dda805315d5e7.tar.bz2
rails-9a36fac810246dad32fb4b88619dda805315d5e7.zip
a rails application should be an engine subclass
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r--actionpack/test/dispatch/prefix_generation_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/prefix_generation_test.rb b/actionpack/test/dispatch/prefix_generation_test.rb
index eda92beae1..060d76748a 100644
--- a/actionpack/test/dispatch/prefix_generation_test.rb
+++ b/actionpack/test/dispatch/prefix_generation_test.rb
@@ -60,7 +60,7 @@ module TestGenerationPrefix
end
end
- class RailsApplication
+ class RailsApplication < Rails::Engine
@routes = ActionDispatch::Routing::RouteSet.new.tap { |routes|
routes.draw do
scope "/:omg", :omg => "awesome" do