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

converted to '\' instead of =? #87

Open
rosewcs345 opened this issue Mar 24, 2021 · 0 comments
Open

converted to '\' instead of =? #87

rosewcs345 opened this issue Mar 24, 2021 · 0 comments

Comments

@rosewcs345
Copy link

This seems unusual to me, but may not really be an issue, but I would appreciate some insight.

lines such as:
Rating:
<%= @movie.rating %>

are now being converted to:
Rating:
#{@movie.rating}

I would have expected this:
Rating:
= @movie.rating

could someone explain what the '' is doing and if that is correct?
If I don't want the '' notation, is there an option I can use?

The problem I'm having is that when I have a regular expression which spans multiple lines, it seems to upchuck on the ' \ '(????)
When I substitute the alternate way of converting it, the regular expression matches:
expect(page.body).to match(/.#{field.capitalize}:.#{field_value}/m)

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