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:
parent
0157608508
commit
6c6668510b
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue