diff --git a/test/models/post_approval_test.rb b/test/models/post_approval_test.rb index 756f5de4a..835324f68 100644 --- a/test/models/post_approval_test.rb +++ b/test/models/post_approval_test.rb @@ -19,6 +19,7 @@ class PostApprovalTest < ActiveSupport::TestCase teardown do CurrentUser.user = nil + CurrentUser.ip_addr = nil end should "allow approval" do