Hi, did anybody get ''fixture scenario builder'' (http://errtheblog.com/post/ 7708) to work with rspec? I am getting the following error: ..../plugins/fixture_scenarios_builder/lib/scenario_builder.rb:8:in `scenario'': undefined method `scenario'' for main (NoMethodError) Ingo --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 8/9/07, ingoweiss <ingoweiss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > > did anybody get ''fixture scenario builder'' (http://errtheblog.com/post/ > 7708) to work with rspec? > I am getting the following error: > > ..../plugins/fixture_scenarios_builder/lib/scenario_builder.rb:8:in > `scenario'': undefined method `scenario'' for main (NoMethodError) > > Ingo > > > > >I haven''t used that, but you might be interested in my test_exemplars plugin [1] that solves that problem a bit differently. Pat [1] http://evang.eli.st/blog/2007/8/8/doin-the-fixtures-plugin-thing --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''ve got the fixture to load with scenario_with_builder() in rspec''s describe block directly instead of scenario(). But it doesn''t work w/ nested fixture nor any other scenarios. So, it only works for ONE scenario. Which defeats the purpose of using fixture scenario. I''m looking into this now. If anyone got it working, please share! David On Aug 9, 1:45 pm, ingoweiss <ingowe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > did anybody get ''fixture scenario builder'' (http://errtheblog.com/post/ > 7708) to work with rspec? > I am getting the following error: > > ..../plugins/fixture_scenarios_builder/lib/scenario_builder.rb:8:in > `scenario'': undefined method `scenario'' for main (NoMethodError) > > Ingo--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---