first refactoring of stats controller

This commit is contained in:
Reinier Balt 2011-11-19 02:41:06 +01:00
parent 4705aca8dc
commit f74370aab5
6 changed files with 260 additions and 315 deletions

View file

@ -13,11 +13,6 @@ class StatsControllerTest < ActionController::TestCase
@response = ActionController::TestResponse.new
end
# Replace this with your real tests.
def test_truth
assert true
end
def test_get_index_when_not_logged_in
get :index
assert_redirected_to :controller => 'login', :action => 'login'