diff --git a/test/app/models/thing.rb b/test/app/models/thing.rb
index <HASH>..<HASH> 100644
--- a/test/app/models/thing.rb
+++ b/test/app/models/thing.rb
@@ -1,2 +1,3 @@
 class Thing < ActiveRecord::Base
+  belongs_to :person
 end
diff --git a/test/test/functional/things_controller_test.rb b/test/test/functional/things_controller_test.rb
index <HASH>..<HASH> 100644
--- a/test/test/functional/things_controller_test.rb
+++ b/test/test/functional/things_controller_test.rb
@@ -41,11 +41,11 @@ class ThingsControllerTest < Test::Unit::TestCase
            :awesome => true
         }
 
-    assert assigns(:thing)
-    assert assigns(:person)
+    assert_not_nil assigns(:thing)
+    assert_not_nil assigns(:person)
 
     assert_not_nil (thing = Thing.find_by_name("nillawafer"))
-    assert thing.person_id == 2
     assert_redirect_to thing_path(thing.person, thing)
+    assert_equal 2, thing.person_id
   end
 end
Nicer, but still not passing, tests.


git-svn-id: <URL>