fixed forum topics test

This commit is contained in:
r888888888
2013-06-17 16:00:53 -07:00
parent da95c69897
commit a40331cfe8
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ class ForumTopicsControllerTest < ActionController::TestCase
CurrentUser.ip_addr = "127.0.0.1"
@other_user = FactoryGirl.create(:user)
@mod = FactoryGirl.create(:moderator_user)
@forum_topic = FactoryGirl.create(:forum_topic, :title => "my forum topic", :creator => @user)
@forum_topic = FactoryGirl.create(:forum_topic, :title => "my forum topic", :creator => @user, :original_post_attributes => {:body => "xxx"})
end
teardown do