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)
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)