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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment