Ruby on Rails Monday, April 28, 2014

Frederick Cheung wrote in post #1144297:
> On Monday, April 28, 2014 11:16:57 AM UTC+1, Ruby-Forum.com User wrote:
>> # describe UsersHelper do
>> which example should I add? The example given in comment form, that
>> should I add in " users_helper_spec.rb " file?
>>
>>
> That depends entirely on what your code does. Typically you would have a
> group of specs testing various cases for each of the methods in
> UsersHelper.
>
> If you're not going to write any specs then you can just delete the
> file.
>
> Fred

Thank you very much for your reply.

Kind regards.

--
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 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/c4066296362170b3adf182eec5249f92%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment