lib/teaspoon/result.rb in teaspoon-0.8.0 vs lib/teaspoon/result.rb in teaspoon-0.9.0

- old
+ new

@@ -1,7 +1,6 @@ module Teaspoon - RESULT_ATTRS = [ :type, :suite, :label, :status, @@ -16,12 +15,11 @@ :coverage, :original_json, ] class Result < Struct.new(*RESULT_ATTRS) - def self.build_from_json(json) - new(*RESULT_ATTRS.map{ |attr| json[attr.to_s] }) + new(*RESULT_ATTRS.map { |attr| json[attr.to_s] }) end def description "#{suite} #{label}" end