* Removed Pixa/Tinami sources
* Upgraded to Rails 3.2.3 * Fixed tests
This commit is contained in:
@@ -4,15 +4,15 @@ module PostSets
|
||||
class PoolTest < ActiveSupport::TestCase
|
||||
context "In all cases" do
|
||||
setup do
|
||||
@user = Factory.create(:user)
|
||||
@user = FactoryGirl.create(:user)
|
||||
CurrentUser.user = @user
|
||||
CurrentUser.ip_addr = "127.0.0.1"
|
||||
MEMCACHE.flush_all
|
||||
|
||||
@post_1 = Factory.create(:post)
|
||||
@post_2 = Factory.create(:post)
|
||||
@post_3 = Factory.create(:post)
|
||||
@pool = Factory.create(:pool)
|
||||
@post_1 = FactoryGirl.create(:post)
|
||||
@post_2 = FactoryGirl.create(:post)
|
||||
@post_3 = FactoryGirl.create(:post)
|
||||
@pool = FactoryGirl.create(:pool)
|
||||
@pool.add!(@post_2)
|
||||
@pool.add!(@post_1)
|
||||
@pool.add!(@post_3)
|
||||
|
||||
Reference in New Issue
Block a user