diff options
author | Phil Hughes <me@iamphill.com> | 2017-04-10 10:25:12 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-04-10 10:25:12 +0100 |
commit | fede01fb5ef488c387efe307c2453bd5aa34c073 (patch) | |
tree | 13c527ff75c88fb0e095f6b459b9dee9b094f2c1 /spec | |
parent | 2dab724583f58c0dc2b5eea8749f8345cc7d6fe1 (diff) | |
download | gitlab-ce-fede01fb5ef488c387efe307c2453bd5aa34c073.tar.gz |
Fixed karmaci-favicon-back-in
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/build_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/build_spec.js b/spec/javascripts/build_spec.js index edd4b3c1440..7174bf1e041 100644 --- a/spec/javascripts/build_spec.js +++ b/spec/javascripts/build_spec.js @@ -98,9 +98,9 @@ describe('Build', () => { jasmine.clock().tick(4001); - expect($.ajax.calls.count()).toBe(2); + expect($.ajax.calls.count()).toBe(3); - args = $.ajax.calls.argsFor(1)[0]; + args = $.ajax.calls.argsFor(2)[0]; expect(args.url).toBe(`${BUILD_URL}/trace.json`); expect(args.dataType).toBe('json'); expect(args.data.state).toBe('newstate'); @@ -133,7 +133,7 @@ describe('Build', () => { expect($('#build-trace .js-build-output').text()).toMatch(/Update/); jasmine.clock().tick(4001); - args = $.ajax.calls.argsFor(1)[0]; + args = $.ajax.calls.argsFor(2)[0]; args.success.call($, { html: '<span>Different</span>', status: 'running', |