> Just for this issue? If so, there was no need. Not just for that issue, and Brandon probably assumed I was using rspec, but it pissed me off some time ago.
Each time I would hit a wall with RSpec and have to search for hours how to solve it. With Test::Unit for some reason, I don't have as many little annoying troubles, and when I do, I find a solution whether on my own or by reading stuff online very quickly. I am having a much better testing experience with Test::Unit. > > How were you able to solve the problem? It will help others if you post > your solution. Well I can't directly stub a controller instance method. So I stubbed the Model class method that the instance variable will be set to. -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

