improve last path. Thanks Vitaliel!

This commit is contained in:
Reinier Balt 2009-01-17 14:43:06 +01:00
parent 8cdae83014
commit 01a011ee06
2 changed files with 2 additions and 5 deletions

View file

@ -99,10 +99,7 @@ class StatsControllerTest < Test::Unit::TestCase
assert_response :success
# clear taggings table and render again
taggings = Tagging.find(:all)
taggings.each do |t|
t.delete
end
Tagging.delete_all
get :index
assert_response :success