For the umpteenth time, in trying to become a better developer, i''m trying to practice BDD with rspec. after running the command: script/generate rspec_scaffold Housing rake spec i get the following errors: http://pastie.caboo.se/152653 this is a fresh install and i immediately get errors after running the spec command. how do i get rid of these errors so its a successful rake spec. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
would be helpful to see the code, that generates the errors (not all of them, but the first test function and any setup code that may influence it, eg loaded fixtures...) -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
At a guess there''s * a lot* of occurances where he''s calling render :actionsomeaction instead of render :action => "someaction". Easy enough to fix. On Fri, Feb 15, 2008 at 11:59 PM, Thorsten Mueller < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > would be helpful to see the code, that generates the errors (not all of > them, but the first test function and any setup code that may influence > it, eg loaded fixtures...) > -- > Posted via http://www.ruby-forum.com/. > > > >-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email. --~--~---------~--~----~------------~-------~--~----~ 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 Feb 15, 2008 8:17 AM, sotirac <sotirac-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > For the umpteenth time, in trying to become a better developer, i''m > trying to practice BDD with rspec. > > after running the command: > > script/generate rspec_scaffold Housing > rake spec > > i get the following errors: > > http://pastie.caboo.se/152653 > > this is a fresh install and i immediately get errors after running the > spec command. how do i get rid of these errors so its a successful > rake spec.What versions of rspec and rails are you using? It looks like you''re using edge rails. If you are, you also have to use rspec''s trunk. See http://rspec.info/documentation/rails/install.html for more info. Cheers, David> > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
thanks guys, I did have edge rails and hence I needed to install rspec''s trunk. I was using rspec 1.1.3. On Feb 16, 1:36 am, "David Chelimsky" <dchelim...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Feb 15, 2008 8:17 AM, sotirac <soti...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > For the umpteenth time, in trying to become a better developer, i''m > > trying to practice BDD with rspec. > > > after running the command: > > > script/generate rspec_scaffold Housing > > rake spec > > > i get the following errors: > > >http://pastie.caboo.se/152653 > > > this is a fresh install and i immediately get errors after running the > > spec command. how do i get rid of these errors so its a successful > > rake spec. > > What versions of rspec and rails are you using? It looks like you''re > using edge rails. If you are, you also have to use rspec''s trunk. Seehttp://rspec.info/documentation/rails/install.htmlfor more info. > > Cheers, > David > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---