Well, I am not sure if I am doing something wrong, or if this behavior
is intendedÂ… but somehow my tests are failing for rails 2.0
Ok, here is my setup. First have a look at my fixtures (events habtm
users (as hosts))
[users.yml]
admin:
login: administrator
billie:
login: billie_the_kid
[events.yml]
my_event:
title: My little test event
hosts: billie
This works great so far and when using UI no problems so far. But when
using the hash to access a host id like:
events(:my_event).host_ids
the returned array is different for every test I run. This way all tests
fail. Any ideas why this is the case?
Max
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---