Skip to content

Clash on all method with aruba/rspec-expectations in cucumber #2761

@PragTob

Description

@PragTob

Heyo, thanks for all your work on capybara!

Meta

capybara (3.40.0)
Ruby 3.3

Issue & reproduction

I have documented and reproduced the issue in this repo: https://github.com/PragTob/all_conflict

Most basically the capybara DSL method all clashes with all of rspec-expectations which aruba uses. This conflict must have come in some version update and so I'm unable to upgrade gem versions in simplecov.

I'm not sure about the best solution. I couldn't find it in the docs, but if one could use capybara with the DSL not being global but bound to a page as it is in some setups (but seemingly not with cucumber) that should solve the issue.


Thanks a lot for all your work! 💚

Cross reference aruba issue: cucumber/aruba#927

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