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

Supporting ' character in labels/texts #631

Closed
ark-konopacki opened this issue Dec 1, 2014 · 3 comments
Closed

Supporting ' character in labels/texts #631

ark-konopacki opened this issue Dec 1, 2014 · 3 comments

Comments

@ark-konopacki
Copy link
Contributor

Now to find label or text with ' char (don't for example ;) i use steps like:
Then I should see "We don't send that"
Why we cannot add support for that char in all steps by default?
It's only one extra like: expected.gsub!("'", "\'")
Or maybe i miss something?

@TeresaP
Copy link
Contributor

TeresaP commented Dec 2, 2014

I agree, it would be nice if strings were escaped for us.

We do this:
string_you_are_looking_for = escape_quotes(string_you_are_looking_for) which basically does the gsub you mention. escape_quotes is a method in query_helpers.rb.

@jmoody jmoody changed the title Supporting ' charecter in labels/texts Supporting ' character in labels/texts Dec 2, 2014
@jmoody
Copy link
Contributor

jmoody commented Dec 2, 2014

I believe this is fixed in the latest pre-release. #616

@jmoody
Copy link
Contributor

jmoody commented Dec 3, 2014

Confirmed as fixed in 0.11.5.pre3 on simulators and devices.

@jmoody jmoody closed this as completed Dec 3, 2014
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

3 participants