mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Merge pull request #473 from hoshinotsuyoshi/fix-typo-in-readme
Fix typo in README :D 'Database' -> 'DatabaseCleaner'
This commit is contained in:
commit
98d6a84158
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue