fix tests

This commit is contained in:
albert
2013-03-25 23:58:44 -04:00
parent 5b1cb96fdd
commit f4cc6e7d99
3 changed files with 3 additions and 2 deletions

View File

@@ -357,6 +357,7 @@ class PostTest < ActiveSupport::TestCase
context "with an artist tag that is then changed to copyright" do
setup do
CurrentUser.user = FactoryGirl.create(:builder_user)
Delayed::Worker.delay_jobs = false
@post = Post.find(@post.id)
@post.update_attribute(:tag_string, "art:abc")