Created
June 10, 2014 22:33
-
-
Save stephanwehner/feb91b53ae17d78fccae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Avoiding heredoc.chomp as in | |
# assert_select "div#order p", <<-STR.chomp | |
# Test ABC | |
# Test DEF | |
# STR | |
def assert_select(a,b) | |
puts "assert_select: #{a.inspect}, #{b.inspect}" | |
end | |
assert_select "abc def", " | |
TEST ABC | |
TEST DEF | |
".strip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment