To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!More about adding a collaborator
As of Cucumber 1.0.3, you can specify a content type for a docstring, like this:
Given this is made of Ruby code: """ruby puts "hello" """
Relish understands these content types when rendering the step. We use
highlight.js, so the content type string you use needs to match one of their supported languages.
- Push a Scenario with a Ruby DocString
a step with a multiline argument that looks like this:
"""ruby puts "a string" # Comment """
- I view the page for the feature
- I should see the text "a string" highlighted as a string
- I should see the text "# Comment" highlighted as a comment
Last published over 6 years ago by mattwynne.