-
Notifications
You must be signed in to change notification settings - Fork 84
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
Failing spec with Rails 5 #136
Comments
@dsandstrom I guess we can treat this one of two ways:
expect(node).to have_css('input[type^="datetime"]') (matches inputs with types beginning with "datetime") I'll submit a PR for the latter |
I went with option 1 for the foundation-6 branch. I never commited the same fix to master, thinking we would stop development on master and focus on foundation-6 only. Using the fuzzy search is probably better anyhow. |
Cool - if you think it's OK, would you mind merging? |
After installing Rails 5 and freshly installing this gem, the following spec fails:
It's failing because the
type
is nowdatetime-local
(see below). This has been introduced in Rails 5(Old behaviour was to set type as
datetime
)Here's what the capybara node looks like:
The text was updated successfully, but these errors were encountered: