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

Fails when using multiline argument tables with scenario outlines #32

Closed
saclark opened this issue Jul 21, 2014 · 1 comment
Closed

Comments

@saclark
Copy link

saclark commented Jul 21, 2014

PrettyFace appears to be failing when using multiline argument tables in conjunction with scenario outlines. For example:

Scenario Outline: Example
    Given the following data
        | Foo        | Bar        |
        | <foo_data> | <bar_data> |
    Then things should work

    Examples:
        | foo_data  | bar_data  |
        | abcd      | 1234      |

The above scenario outline causes PrettyFace to fail with the following message:

undefined method `table=' for #<Cucumber::Ast::Step:0x42fab48> (NoMethodError)

which comes from:

lib/pretty_face/formatter/html.rb:120:in `after_step'
@saclark
Copy link
Author

saclark commented Jul 21, 2014

Woops! Just saw that this is a duplicate of issue #19. Closing this. Thanks.

@saclark saclark closed this as completed Jul 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant