From cd12291fcba65f5f7b427ff8616bb479368b1a69 Mon Sep 17 00:00:00 2001 From: hoshinotsuyoshi Date: Tue, 31 Jan 2017 22:33:22 +0900 Subject: [PATCH] Fix typo in README :D 'Database' -> 'DatabaseCleaner' --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 65709e9..34bbcfd 100644 --- a/README.markdown +++ b/README.markdown @@ -166,7 +166,7 @@ passed to [`keys`](http://redis.io/commands/keys)). (I should point out the truncation strategy will never truncate your schema_migrations table.) -Some strategies need to be started before tests are run (for example the `:transaction` strategy needs to know to open up a transaction). This can be accomplished by calling `DatabaseCleaner.start` at the beginning of the run, or by running the tests inside a block to `Database.cleaning`. So you would have: +Some strategies need to be started before tests are run (for example the `:transaction` strategy needs to know to open up a transaction). This can be accomplished by calling `DatabaseCleaner.start` at the beginning of the run, or by running the tests inside a block to `DatabaseCleaner.cleaning`. So you would have: ```ruby require 'database_cleaner'