Displaying 1 result from an estimated 1 matches for "messagethreadtest".
Did you mean:
message_thread_test
2008 Jan 04
5
Confused by the unit test results.
....messages.find(:first, :conditions => {:body =>
''total awesomeness''}), ''Cannot find message''
end
---------------------------------
Loaded suite message_thread_test
Started
.............F
Finished in 0.285501 seconds.
1) Failure:
test_valid_message_new(MessageThreadTest) [message_thread_test.rb:
183]:
Cannot find message.
<nil> is not true.
---------------------------------
Why doesn''t method find() find anything? Is the :condition parameter
incorrect? I tried saving message, but it still didn''t find the
message I was looking for. Is the...