Sha256: 03dda2c8589161a602df6f1fdbcfef59e327ed5a5533e4f500e380b4acba9988
Contents?: true
Size: 535 Bytes
Versions: 2
Compression:
Stored size: 535 Bytes
Contents
describe 'HeadlessReporterResult', -> beforeEach -> HeadlessReporterResult.specLineNumbers = { 'one': { 'name': [ 1 ], 'of': [ 2, 9 ], 'test': [ 3, 10 ], 'other': [ 7 ] } } it 'should find the best spec lines', -> result = new HeadlessReporterResult('test', [ 'name', 'of', 'test' ]) expect(result._findSpecLine().lineNumber).toEqual(3) result = new HeadlessReporterResult('test', [ 'other', 'of', 'test' ]) expect(result._findSpecLine().lineNumber).toEqual(10)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jasmine-headless-webkit-0.6.1 | spec/javascripts/jasmine.headless-reporter_spec.coffee |
jasmine-headless-webkit-0.6.0 | spec/javascripts/jasmine.headless-reporter_spec.coffee |