tests: fix tests for Rails.cache.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user