Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Note truncation strategy for DatabaseCleaner.

  • Loading branch information...
commit 846c6da3237fc24b74b48fb51d8d18807cbd7d4e 1 parent 1e47f05
@pat pat authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ts/en/testing.textile
View
2  ts/en/testing.textile
@@ -48,7 +48,7 @@ Feature: Searching for articles
The reason for this is that while ActiveRecord can run all its operations within a single transaction, Sphinx doesn't have access to that, and so indexing will not include your transaction's changes.
-The added complication to this is that you'll probably want to clear all the data from your database between scenarios. This can be done within the @Before@ block, in one of your steps files (see below). Another option is Ben Mabey's "Database Cleaner":http://github.com/bmabey/database_cleaner library.
+The added complication to this is that you'll probably want to clear all the data from your database between scenarios. This can be done within the @Before@ block, in one of your steps files (see below). Another option is Ben Mabey's "Database Cleaner":http://github.com/bmabey/database_cleaner library - and make sure you use the truncation strategy.
{% highlight ruby %}
Before do
Please sign in to comment.
Something went wrong with that request. Please try again.