If you used Matt's code below, then successful? is most likely
referring to a method after your open_id_authentication method.
When you stub! that method you're effectively telling rspec to skip
over it and return what I tell you instead.
You'd need to paste more of your spec and controller action that
you're stubbing for anyone to be of further help.
On Apr 30, 2008, at 1:00 AM, Patrick Aljord wrote:
ok thanks, I still get a "undefined method `successful?'", successful?
is a method that is used inside of the block, it's partof the
open_id_authentication plugin, any way to include the plugin in the
spec so that it recognizes the method?
thanks in advance
Pat
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users