fix tag alias correction tests

also removes references to distributed memcached servers in tag alias correction
This commit is contained in:
Albert Yi
2019-01-02 11:52:25 -08:00
parent d32882e1ee
commit 6f30c99ac3
3 changed files with 11 additions and 35 deletions

View File

@@ -8,6 +8,7 @@ class TagAliasCorrectionTest < ActiveSupport::TestCase
CurrentUser.ip_addr = "127.0.0.1"
@post = FactoryBot.create(:post, :tag_string => "aaa")
@tag_alias = FactoryBot.create(:tag_alias, :antecedent_name => "aaa", :consequent_name => "bbb")
@tag_alias.update_posts
end
teardown do