Should this be [] then, if it's a hash?

Envoyé de mon iPhone

> Le Sep 28, 2013 à 7:26 PM, Justin Mutter <notifications@github.com> a écrit :
> 
> In test/functional/test_cases_controller_test.rb:
> 
> > @@ -14,7 +14,8 @@ class TestCasesControllerTest < ActionController::TestCase
> >      get :index, @params
> >      assert_response :success
> >      assert_not_nil assigns(:test_cases)
> > -    assert_equal 2, assigns(:test_cases).count
> > +    assert_equal TestCase.where(('test_category_id=?'), @test_category.id).count, assigns(:test_cases).count
> assigns is a hash of any instance variable set during the action - this is fine
> 
> —
> Reply to this email directly or view it on GitHub.