On Dec 28, 1:07 am, Michael Corr <li...@ruby-forum.com> wrote:

>
> The problem is in the following calls in the NetConnection constructor
>       @handle_tx.use_ssl = true
>       @handle_tx.verify_mode = OpenSSL::SSL::VERIFY_NONE
>
> Since these are assignments, not methods with parameters, how do I stub
> them? I couldn't find an appropriate method in the Mocha API
>
These *are* method calls (and the corresponding method name is foo= )

Fred

-- 
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-t...@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.

Reply via email to