Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-hill committed Sep 6, 2019
1 parent 2643c86 commit ab97fe6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CO

* New functionality allows users to Configure whether `Rack::Test` methods get auto-mixed in
* Setting `ENV['CR_REMOVE_RACK_TEST_HELPERS] = "true"` will remove these methods from the `World`
([#4xx](https://github.com/cucumber/cucumber-rails/pull/4xx) [luke-hill])
([#440](https://github.com/cucumber/cucumber-rails/pull/440) [luke-hill])

### Changed

* Altered some branching logic in tests designed to cater for old ruby/rails versions
([#413](https://github.com/cucumber/cucumber-rails/pull/433) [luke-hill])
([#433](https://github.com/cucumber/cucumber-rails/pull/433) [luke-hill])
* `aruba` is now included as a core-dependency; not a test-dependency

### Fixed
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ By default, cucumber-rails runs `DatabaseCleaner.start` and `DatabaseCleaner.cle
Cucumber::Rails::Database.autorun_database_cleaner = false
```

By default, cucumber-rails will auto mix-in the helpers from `Rack::Test` into your default Cucumber World instance. You can prevent this behaviour like so:
```ruby
# features/support/env.rb
ENV['CR_REMOVE_RACK_TEST_HELPERS'] = 'true'
```

## Upgrading from a previous version

When upgrading from a previous version it is recommended that you rerun:
Expand Down

0 comments on commit ab97fe6

Please sign in to comment.