Displaying 1 result from an estimated 1 matches for "artisttest".
Did you mean:
artist_test
2006 Mar 19
2
Unit test confusion
...it? I''d guess the one that actually
works is right, but there''s a lot of stuff on google about the other
ways that I can''t get to work.
The actual error messages for the failed assertions are different:
@artists["beatles"]["name"]:
test_create(ArtistTest):
NoMethodError: You have a nil object when you didn''t expect it!
The error occured while evaluating nil.name
test/unit/artist_test.rb:15:in `test_create''
@beatles.name:
test_create(ArtistTest):
NoMethodError: You have a nil object when you didn''t expect it!
You mi...