fix tests

This commit is contained in:
r888888888
2015-08-18 17:37:07 -07:00
parent 66de9c85a3
commit 341b29ce41
32 changed files with 3205 additions and 3223 deletions

View File

@@ -463,8 +463,8 @@ class PostTest < ActiveSupport::TestCase
context "as a new user" do
setup do
CurrentUser.user = FactoryGirl.create(:user)
@post.update_attribute(:tag_string, "aaa bbb ccc ddd")
CurrentUser.user = FactoryGirl.create(:user)
end
should "not allow you to remove more than 2 tags" do