Skip to content

converted to '\' instead of =? #87

Open
@rosewcs345

Description

@rosewcs345

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions