Ruby on Rails Sunday, January 29, 2017

On Sat, Jan 28, 2017 at 11:44 PM, Tushar Garg
<tushar.garg@daffodilsw.com> wrote:

> Those errors were related testing. Becoz lot of things in Rspec are
> depriciated, when I remove Rspec and testing part from it, then its working
> fine.

But "removing testing" to make it "work" is an extremely bad habit
to get into.

If some methods shown in the old tutorial are deprecated, write
your tests to use current ones. You will never regret knowing how
to write good tests :-)

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
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/CACmC4yBe_REmbWF_BUsF5uXStKgLu7_3b-wite52hN1p1njY-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment