summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2017-06-25 20:11:41 -0600
committerDan Allen <dan.j.allen@gmail.com>2017-06-25 20:11:41 -0600
commit12ce34a1eb05c73c2acbde612df17a74d1233df2 (patch)
tree4c15c56bc05573c29507de6b837278a7cfe62c87 /features
parent1d05a4d0e767bd04fbae6d7d7d224fb7e0b03e6d (diff)
simplify line mapper in helper for feature tests
Diffstat (limited to 'features')
-rw-r--r--features/step_definitions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/step_definitions.rb b/features/step_definitions.rb
index ff0dca0a..6b977115 100644
--- a/features/step_definitions.rb
+++ b/features/step_definitions.rb
@@ -42,7 +42,7 @@ Then /the result should match the (HTML|XML) structure/ do |format, expect|
else
options = {}
end
- slim_friendly_output = @output.lines.entries.map {|line|
+ slim_friendly_output = @output.each_line.map {|line|
if line.start_with? '<'
line
else