Skip to content

How do I use execute within a step? #132

@jgarber

Description

@jgarber

I would imagine:

step "First thing" do
  # something
end

step "First thing and something else" do
  execute "First thing"
end

But I get undefined method 'name' for "First thing":String because #execute calls step.name. How is #execute supposed to be called if not like above? And if I'm completely misusing execute, what should you do to call one step from another? (I don't want to have to underscore it myself)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions