Merge pull request #75 from dmilisic/master
updated README - RSpec usage
This commit is contained in:
commit
18108d775a
|
@ -73,7 +73,7 @@ strategy the remaining time. To accomplish this you can say:
|
||||||
Example usage with RSpec:
|
Example usage with RSpec:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
Spec::Runner.configure do |config|
|
RSpec.configure do |config|
|
||||||
|
|
||||||
config.before(:suite) do
|
config.before(:suite) do
|
||||||
DatabaseCleaner.strategy = :transaction
|
DatabaseCleaner.strategy = :transaction
|
||||||
|
|
Loading…
Reference in New Issue