-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Improve like tests #8002
Improve like tests #8002
Conversation
end | ||
|
||
Then /^I should see the Bitcoin address$/ do | ||
find("#bitcoin_address")['value'].should == "AAAAAA" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
var elem = $(el); | ||
if ('" + text + "' == $.trim(elem.text()) ) { | ||
elem.click(); | ||
}});") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the style and then this is good to go :)
3dc0547
to
f62ceeb
Compare
Style check fixed and I finished the improvements I wanted to do but I haven't time for it on Sunday. So this should be ready to be merged. |
@jhass travis is green ;) |
This PR reorganize a bit the cucumber steps and improve the like steps. It is a base for the coming cucumber tests I'm writing for #2999.