fix artist test

This commit is contained in:
albert
2013-02-23 10:58:31 -05:00
parent 6bc5b96d8e
commit dbdbdd2337

View File

@@ -33,7 +33,7 @@ class ArtistTest < ActiveSupport::TestCase
setup do
@post = FactoryGirl.create(:post, :tag_string => "aaa")
@artist = FactoryGirl.create(:artist, :name => "aaa")
@artist.update_attributes({:is_banned => true}, :as => :admin)
@artist.ban!
@post.reload
end