summaryrefslogtreecommitdiff
path: root/spec/javascripts/jobs/components/job_log_spec.js
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-09-27 11:08:31 +0000
committerPhil Hughes <me@iamphill.com>2018-09-27 11:08:31 +0000
commit90e0709dfbdf3d1e4a53fece5c4fc30a03860f10 (patch)
tree31b7567872049806782817868f6353edbb70fe8c /spec/javascripts/jobs/components/job_log_spec.js
parentb42e774021e5617abe6414c274763914c6b55c5b (diff)
downloadgitlab-ce-90e0709dfbdf3d1e4a53fece5c4fc30a03860f10.tar.gz
Updates Vue job components to match new API
Diffstat (limited to 'spec/javascripts/jobs/components/job_log_spec.js')
-rw-r--r--spec/javascripts/jobs/components/job_log_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/jobs/components/job_log_spec.js b/spec/javascripts/jobs/components/job_log_spec.js
index 6a5b375a26c..1011512360d 100644
--- a/spec/javascripts/jobs/components/job_log_spec.js
+++ b/spec/javascripts/jobs/components/job_log_spec.js
@@ -15,7 +15,7 @@ describe('Job Log', () => {
it('renders provided trace', () => {
vm = mountComponent(Component, {
trace,
- isReceivingBuildTrace: true,
+ isComplete: true,
});
expect(vm.$el.querySelector('code').textContent).toContain('Running with gitlab-runner 11.1.0 (081978aa)');
@@ -25,7 +25,7 @@ describe('Job Log', () => {
it('renders animation', () => {
vm = mountComponent(Component, {
trace,
- isReceivingBuildTrace: true,
+ isComplete: true,
});
expect(vm.$el.querySelector('.js-log-animation')).not.toBeNull();
@@ -36,7 +36,7 @@ describe('Job Log', () => {
it('does not render animation', () => {
vm = mountComponent(Component, {
trace,
- isReceivingBuildTrace: false,
+ isComplete: false,
});
expect(vm.$el.querySelector('.js-log-animation')).toBeNull();