search for: test_append_timex

Displaying 1 result from an estimated 1 matches for "test_append_timex".

2005 Dec 14
0
One of my attributes is nil, but it shouldn''t be
...afire pergesu$ ./script/console Loading development environment. >> e = Event.new => #<Event:0x234a514 @attributes={"name"=>nil, "timexstring"=>"", "description"=>nil}, @new_record=true> >> e.timexstring.nil? => false def test_append_timex e = Event.new assert !e.timexstring.nil? end 1) Failure: test_append_timex(EventTest) [test/unit/event_test.rb:39]: <false> is not true.