fixes #3007: Eliminate Janitor role

This commit is contained in:
r888888888
2017-05-01 14:38:16 -07:00
parent 99ed0cc437
commit 48e9856f37
22 changed files with 17 additions and 144 deletions

View File

@@ -420,8 +420,8 @@ class PostTest < ActiveSupport::TestCase
context "that was previously approved by person X" do
setup do
@user = FactoryGirl.create(:janitor_user, :name => "xxx")
@user2 = FactoryGirl.create(:janitor_user, :name => "yyy")
@user = FactoryGirl.create(:moderator_user, :name => "xxx")
@user2 = FactoryGirl.create(:moderator_user, :name => "yyy")
@post = FactoryGirl.create(:post, :approver_id => @user.id)
@post.flag!("bad")
end