class Jasmine::Results

Attributes

suites[R]

Public Class Methods

new(result_hash, suite_hash, example_locations) click to toggle source
# File lib/jasmine/results.rb, line 5
def initialize(result_hash, suite_hash, example_locations)
  @suites = suite_hash
  @results = result_hash
  @example_locations = example_locations
end

Public Instance Methods

example_location_for(spec_description) click to toggle source
# File lib/jasmine/results.rb, line 15
def example_location_for(spec_description)
  @example_locations[spec_description]
end
for_spec_id(id) click to toggle source
# File lib/jasmine/results.rb, line 11
def for_spec_id(id)
  @results[id]
end