Sha256: 9f04914b932cbafdd2205fc1843061abced2e9d29b7e5d37347d5964a984600e

Contents?: true

Size: 707 Bytes

Versions: 5

Compression:

Stored size: 707 Bytes

Contents

# example of making your own matcher with the pickle backend
Then(/^#{capture_model} should be step of #{capture_model}$/) do |step, recipe|
  model(recipe).steps.should include(model(step))
end

# ((?:(?:\w+: (?:(?:(?:I|killah fork)|(?:(?:a|an|another|the|that) )?(?:(?:(?:(?:first|last|(?:\d+(?:st|nd|rd|th))) )?(?:step|recipe|ingredient))|(?:(?:step|recipe|ingredient)(?::? "(?:[^\"]|\.)*"))))|(?:"(?:[^\"]|\.)*"|nil|true|false|[+-]?\d+(?:\.\d+)?))), )*(?:\w+: (?:(?:(?:I|killah fork)|(?:(?:a|an|another|the|that) )?(?:(?:(?:(?:first|last|(?:\d+(?:st|nd|rd|th))) )?(?:step|recipe|ingredient))|(?:(?:step|recipe|ingredient)(?::? "(?:[^\"]|\.)*"))))|(?:"(?:[^\"]|\.)*"|nil|true|false|[+-]?\d+(?:\.\d+)?))))

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pickle-dupe-0.3.1 features/step_definitions/recipe_steps.rb
pickle-dupe-0.3.0 features/step_definitions/recipe_steps.rb
pickle-dupe-0.2.2 features/step_definitions/recipe_steps.rb
pickle-dupe-0.2.1 features/step_definitions/recipe_steps.rb
pickle-dupe-0.2.0 features/step_definitions/recipe_steps.rb