Ruby on Rails
Friday, December 2, 2016
On Friday, December 2, 2016 at 6:45:12 PM UTC+1, Dave Aronson wrote:
And what is Rails' default behaviour?
I only guess that it empties all tables after each test, but this is only my guess.
--
The important thing is that every test start from a *known state*.
The easiest state to achieve and reason about, is empty.
And what is Rails' default behaviour?
I only guess that it empties all tables after each test, but this is only my guess.
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/fd3f41b3-6edd-4b01-8f43-20c664914564%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment