Permalink
Browse files

subclass Rails::Engine

  • Loading branch information...
1 parent 0e26271 commit c6a97b8d4d07b430d821f0ede0df32da30a210b8 @tenderlove tenderlove committed Jul 17, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 actionview/test/template/test_case_test.rb
@@ -1,4 +1,5 @@
require 'abstract_unit'
+require 'rails/engine'
module ActionView
@@ -223,7 +224,7 @@ class ATestHelperTest < ActionView::TestCase
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

0 comments on commit c6a97b8

Please sign in to comment.