Hello, in the railscast episode 71, Ryan uses in a test be_new_record. Running tests with be_new_record causes a NameError: undefined local variable or method.
The episode isn't on git and I didn't find the code. I installed rspec and mocha, but didn't find on google the origin of this function. Is this just a self implemented helper function or is it a function out of a testing framework? Which one? Matthias. --~--~---------~--~----~------------~-------~--~----~ 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@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 -~----------~----~----~----~------~----~------~--~---