Sha256: a92a14f5a69a11bbec58f2f239aec026a0f4aaebf06b34a37861e6f5758b3c99

Contents?: true

Size: 389 Bytes

Versions: 11

Compression:

Stored size: 389 Bytes

Contents

module Jasmine
  class Results

    attr_reader :suites
    def initialize(result_hash, suite_hash, example_locations)
      @suites = suite_hash
      @results = result_hash
      @example_locations = example_locations
    end

    def for_spec_id(id)
      @results[id]
    end

    def example_location_for(spec_description)
      @example_locations[spec_description]
    end
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
jasmine-multi_json-1.3.2.1 lib/jasmine/results.rb
jasmine-1.3.2 lib/jasmine/results.rb
jasmine-multi_json-1.3.1.1 lib/jasmine/results.rb
jasmine-1.3.1 lib/jasmine/results.rb
jasmine-1.3.0 lib/jasmine/results.rb
rally-jasmine-1.2.0.4 lib/jasmine/results.rb
rally-jasmine-1.2.0.3 lib/jasmine/results.rb
rally-jasmine-1.2.0.2 lib/jasmine/results.rb
rally-jasmine-1.2.0.1 lib/jasmine/results.rb
rally-jasmine-1.2.0 lib/jasmine/results.rb
jasmine-1.2.1 lib/jasmine/results.rb