fixed tests

This commit is contained in:
albert
2013-03-18 03:26:02 -04:00
parent 04b18abc6e
commit d21c4500d2
5 changed files with 14 additions and 25 deletions

View File

@@ -50,16 +50,5 @@ class TagAliasesControllerTest < ActionController::TestCase
end
end
end
context "destroy_cache action" do
setup do
@tag_alias = FactoryGirl.create(:tag_alias, :antecedent_name => "aaa")
end
should "reset the cache" do
post :cache, {:id => @tag_alias.id}, {:user_id => @user.id}
assert_nil(Cache.get("ta:aaa"))
end
end
end
end