Method: Cucumber::Glue::ProtoWorld#steps

Defined in:
lib/cucumber/glue/proto_world.rb

#steps(steps_text) ⇒ Object

Run a snippet of Gherkin

Examples:

steps %{
  Given the user "Susan" exists
  And I am logged in as "Susan"
}

Parameters:

  • steps_text (String)

    The Gherkin snippet to run



39
40
41
# File 'lib/cucumber/glue/proto_world.rb', line 39

def steps(steps_text)
  super
end