Never mind. I just found this: http://wiki.github.com/aslakhellesoy/cucumber/fixtures Which states:
...you can access your fixture data from the database using *Model.find*. Example to find the first User model you’d use User.find(:first). So I was just trying to use the Test::Unit way -- users{:sysadminone), vs User.find_by_login('sysadminone') -- and that was the problem. Works right on. On Thu, Sep 16, 2010 at 3:00 PM, David Kahn <d...@structuralartistry.com>wrote: > > On Thu, Sep 16, 2010 at 2:26 PM, Greg Donald <gdon...@gmail.com> wrote: > > Fixtures work great for me. > > Greg, so you are able to load and use fixtures on cucumber on Rails3/1.9.2? > Would you mind sharing how you load them in config and access them? > > David > > > On Thu, Sep 16, 2010 at 2:26 PM, Greg Donald <gdon...@gmail.com> wrote: > >> On Thu, Sep 16, 2010 at 2:23 PM, Marnen Laibow-Koser >> <li...@ruby-forum.com> wrote: >> > Good. You shouldn't be using fixtures in Cucumber -- or indeed at all. >> > The feature, as implemented in Rails, is broken and should be avoided at >> > all costs. >> >> Fixtures work great for me. >> >> But if the sky is falling for you.. >> >> >> -- >> Greg Donald >> destiney.com | gregdonald.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-t...@googlegroups.com. >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.