Forum: Ruby on Rails Testing trouble?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jacob P. (Guest)
on 2006-01-28 05:22
(Received via mailing list)
Could someone please help me figure out this, my first test ever?

When I try to run a test based on the one in Agile, p. 145, I get this
error:

#BEGIN ERROR
Loaded suite test/unit/member_test
Started
F
Finished in 0.469879 seconds.

  1) Failure:
test_create(MemberTest) [test/unit/member_test.rb:8]:
<nil>
expected to be kind_of?
<Member> but was
<NilClass>.

1 tests, 1 assertions, 1 failures, 0 errors
#END ERROR

What does that mean?  Any clue to what I'm doing wrong?

(Also, despite entering the proper preferences at the list site, I
don't receive messages I post to this list.  Does anyone know what
that's about?)

Best,

Jacob

-
Jacob P.
Trisignia
http://trisignia.com/
ph: 202-309-1047
This topic is locked and can not be replied to.