Skip to content

Commit

Permalink
module Blog; class Post appears twice in AV tests
Browse files Browse the repository at this point in the history
This causes TypeError when loaded separately
  • Loading branch information
amatsuda committed Feb 2, 2017
1 parent 0157608 commit 6c66685
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions actionview/test/activerecord/polymorphic_routes_test.rb
Expand Up @@ -45,7 +45,7 @@ def to_param
end
end

module Blog
module Weblog
class Post < ActiveRecord::Base
self.table_name = "projects"
end
Expand All @@ -72,8 +72,8 @@ def setup
@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)
Expand Down

0 comments on commit 6c66685

Please sign in to comment.