Permalink
Browse files

Update README.markdown to fix a small typo

  • Loading branch information...
justinledwards committed Mar 9, 2013
1 parent 83d69e6 commit dedbe8da0e30800f61086915284bac21ed4fdc91
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.markdown
View
@@ -88,7 +88,7 @@ For the SQL libraries the fastest option will be to use `:transaction` as transa
One common approach is to force all processes to use the same database connection ([common ActiveRecord hack](http://blog.plataformatec.com.br/2011/12/three-tips-to-improve-the-performance-of-your-test-suite/)) however this approach has been reported to result in non-deterministic failures.
-Another approach is to have the transactions rolled back in the application's process and relax the isolation level of the database (so the tests can read the uncommited transactions).
+Another approach is to have the transactions rolled back in the application's process and relax the isolation level of the database (so the tests can read the uncommitted transactions).
An easier, but slower, solution is to use the `:truncation` or `:deletion` strategy.

2 comments on commit dedbe8d

What is the difference between before(:each) and before(:suite) ? before(:each) is getting executed before every test case and what about before(:suite) ?

Contributor

bmabey replied Mar 20, 2013

before(:suite) will only once once before ALL of your tests (i.e. the test suite) is run.

Please sign in to comment.