-
-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update contributing.md * update readme.md * Use later versions of rspec/rake * Tidy up rakefile * Fix typo in changelog * Rails 6.1 is the latest 6.x so permit latest cucumber * Update license year that was massively outdated * Update link to old legacy geckodriver
- Loading branch information
Showing
11 changed files
with
21 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,12 +33,6 @@ Finally, bootstrap your Rails app, for example: | |
|
||
## Running Cucumber | ||
|
||
With Rake: | ||
|
||
rake cucumber | ||
|
||
Without Rake: | ||
|
||
[bundle exec] cucumber | ||
|
||
## Configuration options | ||
|
@@ -52,7 +46,8 @@ before and after your scenarios. You can disable this behaviour like so: | |
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: | ||
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' | ||
|
@@ -71,7 +66,7 @@ Cucumber feature. Let's say you think you have found a bug in the cucumber:insta | |
Fork this project, clone it to your workstation and check out a branch with a descriptive name: | ||
|
||
git clone [email protected]:you/cucumber-rails.git | ||
git checkout -b bugfix/generator-fails-on-ruby-31 | ||
git checkout -b bugfix/generator-fails-on-bundle-exec | ||
|
||
Start by making sure you can run the existing features. Now, create a feature that demonstrates | ||
what's wrong. See the existing features for examples. When you have a failing feature that | ||
|
@@ -83,7 +78,7 @@ feature) before you send the pull request. | |
|
||
### Setting up your environment | ||
|
||
Make sure you have a supported ruby installed, cd into your cucumber-rails repository and: | ||
Make sure you have a supported ruby installed, cd into your `cucumber-rails` repository and run | ||
|
||
gem install bundler | ||
bundle install | ||
|
@@ -116,8 +111,8 @@ To support the multiple-gemfile testing, when adding a new dependency the follow | |
|
||
1. If it's a runtime dependency of the gem, add it to the gemspec | ||
2. If it's a primary development dependency, add it to the gemspec | ||
3. If it's a dependency of a generated rails app in a test, add it to [the helper] that modifies the `Gemfile` | ||
3. If it's a dependency of a generated rails app in a test, add it to [the helper method] that modifies the `Gemfile` | ||
|
||
For example, rspec is a primary development dependency, so it lives in the gemspec. | ||
|
||
[the helper]: https://github.com/cucumber/cucumber-rails/blob/5e37c530560ae1c1a79521c38a54bae0be94242b/features/step_definitions/cucumber_rails_steps.rb#L15 | ||
[the helper method]: https://github.com/cucumber/cucumber-rails/blob/main/features/support/cucumber_rails_helper.rb#L19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters