tests: fix tests for Rails.cache.

This commit is contained in:
evazion
2017-04-16 16:48:36 -05:00
parent 192190a313
commit c0e5c400a7
46 changed files with 14 additions and 69 deletions
-1
View File
@@ -7,7 +7,6 @@ module PostSets
@user = FactoryGirl.create(:user)
CurrentUser.user = @user
CurrentUser.ip_addr = "127.0.0.1"
MEMCACHE.flush_all
@post_1 = FactoryGirl.create(:post)
@post_2 = FactoryGirl.create(:post)
-1
View File
@@ -8,7 +8,6 @@ module PostSets
@user = FactoryGirl.create(:user)
CurrentUser.user = @user
CurrentUser.ip_addr = "127.0.0.1"
MEMCACHE.flush_all
@post_1 = FactoryGirl.create(:post, :tag_string => "a")
@post_2 = FactoryGirl.create(:post, :tag_string => "b")
-1
View File
@@ -10,7 +10,6 @@ module PostSets
@user = FactoryGirl.create(:user)
CurrentUser.user = @user
CurrentUser.ip_addr = "127.0.0.1"
MEMCACHE.flush_all
mock_pool_archive_service!
start_pool_archive_transaction
-1
View File
@@ -8,7 +8,6 @@ module PostSets
@user = FactoryGirl.create(:user)
CurrentUser.user = @user
CurrentUser.ip_addr = "127.0.0.1"
MEMCACHE.flush_all
@post_1 = FactoryGirl.create(:post, :tag_string => "a")
@post_2 = FactoryGirl.create(:post, :tag_string => "b")