README.md in rspec_database_helper-0.1.0 vs README.md in rspec_database_helper-0.2.0
- old
+ new
@@ -15,9 +15,21 @@
$ bundle
Or install it yourself as:
$ gem install rspec_database_helper
+
+## Configuration
+
+Include helpers into RSpec
+
+```ruby
+# spec/rails_helper.rb
+
+RSpec.configure do |config|
+ config.include RspecDatabaseHelper
+end
+```
## Usage
You can group `FactoryBot.create` definitions under `database` helper which supports handy syntax