has_many :bugs, :through => :rails: Make your shoulda tests faster with fast_context

Updated . Posted . Visible to the public.

decided to go fixtureless with Shoulda + Factory Girl. All good, except one problem. Slow as fuck tests. So here’s fast_context as a solution for it. fast_context compiles all the ‘should’s within a context into a single test.

Last edit
Keywords
rails, testing, ruby
License
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2009-09-22 22:10)