fixes for upgrade schema script

This commit is contained in:
albert
2011-11-06 10:12:23 -05:00
parent c478eb33b6
commit 5158d1b274
15 changed files with 3756 additions and 274 deletions

View File

@@ -4,6 +4,13 @@ class ArtistUrlTest < ActiveSupport::TestCase
context "An artist url" do
setup do
MEMCACHE.flush_all
CurrentUser.user = Factory.create(:user)
CurrentUser.ip_addr = "127.0.0.1"
end
teardown do
CurrentUser.user = nil
CurrentUser.ip_addr = nil
end
should "always add a trailing slash when normalized" do