I have been trying to running my unit tests with out errors but keep coming up with the same error:

1) Error:
NoMethodError: undefined method `user' for #<Vote:0x21e4c20>
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1863:in `method_missing'
./test/unit/vote_test.rb:11:in `test_user_association'

I can not seem to get this to run right, I have even copied the files provided by the book to make sure it was not a typo. I still come up with the same thing. Any ideas?

I am very new to this and think I might be missing understanding where the problem lies.