On 26 June 2015 at 01:45, Rafael s <rafaelcrvs@gmail.com> wrote:
> Hello,
>
> I`m using ruby to automation test (with selenium), but is common I use a
> method to do login into multiple files. How can I put this method in just
> one file and call it in my other files?
Not sure what this has to do with Rails, but likely the answer is to
use require.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvKJ56fQ18kZA4D9cLNE%2BHkaiPrTv6Jt%3Ds0u8-Qib0J-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment