Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ruby param type example #77

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/cucumber/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,8 @@ ParameterType(
Here's an example of how to use this in a step definition:

```ruby
Then /^a user {person} should have {int} followers$/ do |person, count|
assert(person.is_a?(Person))
Then('a user {person} should have {int} followers') do |person, count|
puts person.is_a?(Person)
end
```

Expand Down Expand Up @@ -673,4 +673,4 @@ In order to keep any custom configurations from your `env.rb` file, check in you
controlled files and be prepared to diff and merge changes to `env.rb` between versions of Cucumber-Rails.

</Tab>
</Tabs>
</Tabs>
Loading