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

:seen Option Not Matching Seen Text #73

Closed
sshaw opened this issue Mar 22, 2020 · 1 comment
Closed

:seen Option Not Matching Seen Text #73

sshaw opened this issue Mar 22, 2020 · 1 comment

Comments

@sshaw
Copy link

sshaw commented Mar 22, 2020

This does not match:

expect(<<~HTML).to have_tag("p", :seen => "The following thangz ... 4 days")
<p>
  The following thangz ...
  4
  days
</p>
HTML

Looks like :seen only ignores leading and trailing space? It should match what's seen by the user: The following thangz ... 4 days

@randoum
Copy link
Collaborator

randoum commented Sep 12, 2020

Please update to 0.9.3

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

2 participants