> -----Original Message-----
> From: [email protected] [mailto:rubyonrails-
> [email protected]] On Behalf Of Fernando Perez
> Sent: Friday, April 17, 2009 9:30 AM
> To: [email protected]
> Subject: [Rails] Re: Stubbing an ApplicationController before_filter
>
>
>
> > Just for this issue? If so, there was no need.
> Not just for that issue, and Brandon probably assumed I was using
> rspec,
Only because I could have sworn I saw you posting over on that mailing list
just the other day.
Brandon
> 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
-~----------~----~----~----~------~----~------~--~---