diff options
| -rw-r--r-- | features/step_definitions.rb | 2 |
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 |
