diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-07-16 21:48:26 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-07-16 21:48:26 -0700 |
commit | c6a97b8d4d07b430d821f0ede0df32da30a210b8 (patch) | |
tree | 5ddf7f18a1a03806a5ab0184b5d3f5fae7001273 /actionview | |
parent | 0e26271456a772de5ce4c4c78cce3a275bcb89a8 (diff) | |
download | rails-c6a97b8d4d07b430d821f0ede0df32da30a210b8.tar.gz rails-c6a97b8d4d07b430d821f0ede0df32da30a210b8.tar.bz2 rails-c6a97b8d4d07b430d821f0ede0df32da30a210b8.zip |
subclass Rails::Engine
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/test/template/test_case_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionview/test/template/test_case_test.rb b/actionview/test/template/test_case_test.rb index 4ee0930341..4582fa13ee 100644 --- a/actionview/test/template/test_case_test.rb +++ b/actionview/test/template/test_case_test.rb @@ -1,4 +1,5 @@ require 'abstract_unit' +require 'rails/engine' module ActionView @@ -223,7 +224,7 @@ module ActionView test "is able to use mounted routes" do with_routing do |set| - app = Class.new do + app = Class.new(Rails::Engine) do def self.routes @routes ||= ActionDispatch::Routing::RouteSet.new end |