mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove another missing test related to draw external routes
Related with 5e7d6bb
This commit is contained in:
parent
7406d69ecc
commit
a4dd8719e5
1 changed files with 0 additions and 10 deletions
|
@ -11,14 +11,4 @@ class EngineTest < ActiveSupport::TestCase
|
||||||
|
|
||||||
assert !engine.routes?
|
assert !engine.routes?
|
||||||
end
|
end
|
||||||
|
|
||||||
it "does not add more paths to routes on each call" do
|
|
||||||
engine = Class.new(Rails::Engine)
|
|
||||||
|
|
||||||
engine.routes
|
|
||||||
length = engine.routes.draw_paths.length
|
|
||||||
|
|
||||||
engine.routes
|
|
||||||
assert_equal length, engine.routes.draw_paths.length
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue