class TurboTests::FakeExecutionResult

Public Class Methods

from_obj(obj) click to toggle source
# File lib/turbo_tests.rb, line 41
def self.from_obj(obj)
  new(
    obj[:example_skipped?],
    obj[:pending_message],
    obj[:status].to_sym,
    obj[:pending_fixed?],
    FakeException.from_obj(obj[:exception]),
    FakeException.from_obj(obj[:exception])
  )
end