diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-10-09 12:42:17 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-10-11 13:45:07 +0300 |
commit | 5ea377a492e15ae78bff906b37a51e3b6169c35d (patch) | |
tree | 3963ef926f3724cb437778fa3c1f7285509d4f70 /app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue | |
parent | 2fa9b1fe8bd77b0579ab1373146b21646a92c3e8 (diff) |
Adds a `js-` class to allow for specs
Rspec was using a CSS class to check if the content
was being rendered. Since the CSS has changed, the specs failed
This commit replaces the CSS class with a `js-` prepended one
to guarantee changing CSS won't break a pipeline
Diffstat (limited to 'app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue')
-rw-r--r-- | app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue b/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue index eeb90294f3f..c2971d662a6 100644 --- a/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue +++ b/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue @@ -270,6 +270,7 @@ export default { /> <grouped-test-reports-app v-if="mr.testResultsPath" + class="js-reports-container" :endpoint="mr.testResultsPath" /> <div class="mr-section-container"> |