spec/support/post_run_logger.rb in marty-2.5.2 vs spec/support/post_run_logger.rb in marty-2.5.4
- old
+ new
@@ -10,19 +10,18 @@
end
def self.store_data(name, line)
data << " #{test_number}) #{name}"
data << Array(line).map { |string| " #{string}" }
- data << ""
+ data << ''
end
def self.dump_data
unless data.empty?
puts "\n\nPost Run Logging:\n\n"
puts data
end
end
-
end
def post_run_log(*log_string)
Storage.store_data example.example_group.parent_groups.map(&:description).
reverse.join(' ') + ' ' + example.description,