1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

module Blog; class Post appears twice in AV tests

This causes TypeError when loaded separately
This commit is contained in:
Akira Matsuda 2017-02-02 18:15:22 +09:00
parent 0157608508
commit 6c6668510b

View file

@ -45,7 +45,7 @@ class ModelDelegate
end
end
module Blog
module Weblog
class Post < ActiveRecord::Base
self.table_name = "projects"
end
@ -72,8 +72,8 @@ class PolymorphicRoutesTest < ActionController::TestCase
@fax = Fax.new
@delegator = ModelDelegator.new
@series = Series.new
@blog_post = Blog::Post.new
@blog_blog = Blog::Blog.new
@blog_post = Weblog::Post.new
@blog_blog = Weblog::Blog.new
end
def assert_url(url, args)