Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 setup_once_context.gemspec
README
SetupOnceContext
===========

Make your shoulda contexts faster by combining the 'should' blocks (e.g. setup is called only once).

See http://m.onkey.org/2009/9/20/make-your-shoulda-tests-faster-with-fast_context for details.

Installation
============

Step 1 : Install the plugin

  $ script/plugin install git://github.com/jpfuentes2/setup_once_context.git

Step 2 : Require setup_once_context from the test helper

  # RAILS_ROOT/test/test_helper.rb
  require 'setup_once_context'

Copyright (c) 2009 Pratik Naik, released under the MIT license
Something went wrong with that request. Please try again.