Hello, I''ve written yesterday about some problems in functional tests. Nobody had answer for me so I tried to upgrade gems and start from new begining. But after that even yaml fixtures stop working for me. It looks like yaml file was empty, but "normal" fixtures works good. I still think I''m doing something wrong, but don''t know what. Please help me if you can, cause I found rails realy outstanding method of web development, and I wanted to show it on friday''s conference we have on my university (conference on OOT). Maybe some system information should help too: Mac OS X 10.3.6 ruby 1.8.2 (2004-07-29) [powerpc-darwin7.6.0] rails (0.8.0.20041114, 0.8.0.20041105, 0.8.0, 0.7.0) And sorry for my eng, it''s not native ;-) --------------------------- Ing. Josef Pospisil GravaStar +420777835566
On Mon, 15 Nov 2004 13:23:36 +0100, Josef Pospíšil <pepe@gravastar.cz> wrote:> It looks like yaml file was empty, but "normal" fixtures works good. > I still think I''m doing something wrong, but don''t know what.Did you make the extension on your YAML fixtures files "yaml" rather than "yml"? That threw me at first, until I re-read the documentation a bit more carefully. -- Regards, John Wilger ----------- Alice came to a fork in the road. "Which road do I take?" she asked. "Where do you want to go?" responded the Cheshire cat. "I don''t know," Alice answered. "Then," said the cat, "it doesn''t matter." - Lewis Carrol, Alice in Wonderland
On Monday 15 November 2004 07:23 pm, Josef Pospíšil wrote:> Hello, > > I''ve written yesterday about some problems in functional tests. > Nobody had answer for me so I tried to upgrade gems and start from > new begining. But after that even yaml fixtures stop working for > me. It looks like yaml file was empty, but "normal" fixtures works > good. I still think I''m doing something wrong, but don''t know what.This is known behaviour, I made a patch against CVS HEAD, here it''s: http://dev.rubyonrails.org/trac.cgi/ticket/189 I hope that helps, -- sdmitry -=- Dmitry V. Sabanin MuraveyLabs. Spam Here -> postmaster-O47CVlosszw@public.gmane.org
Sorry, next time I''ll surely look at tickets before I ask here :-) Thanks a lot. Pepe On 15.11.2004, at 14:36, Dmitry V. Sabanin wrote:> On Monday 15 November 2004 07:23 pm, Josef Pospíšil wrote: >> Hello, >> >> I''ve written yesterday about some problems in functional tests. >> Nobody had answer for me so I tried to upgrade gems and start from >> new begining. But after that even yaml fixtures stop working for >> me. It looks like yaml file was empty, but "normal" fixtures works >> good. I still think I''m doing something wrong, but don''t know what. > This is known behaviour, I made a patch against CVS HEAD, here it''s: > http://dev.rubyonrails.org/trac.cgi/ticket/189 > > I hope that helps, > -- > sdmitry -=- Dmitry V. Sabanin > MuraveyLabs. > Spam Here -> postmaster-O47CVlosszw@public.gmane.org > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >