Skip to content

Conversation

@tylerhunt
Copy link
Collaborator

Define #respond_to_missing? on Capybara::Email::Driver and Capybara::Node::Email.

The case for this has been laid out in a lovely, vintage piece by Thoughtbot, but, in practical terms, fixes the following usage with RSpec which currently doesn't work:

expect(current_email).to have_attributes(subject: /Hi!/)

@tylerhunt tylerhunt merged commit aa634fc into DavyJonesLocker:master Aug 8, 2025
6 checks passed
@tylerhunt tylerhunt deleted the respond_to_missing branch August 8, 2025 19:36
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

Successfully merging this pull request may close these issues.

1 participant