summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-01-29 10:37:34 +0000
committerNick Thomas <nick@gitlab.com>2018-01-29 10:37:34 +0000
commit092a34fe93c64ab637a8ce0524adba6c9cf4cdf7 (patch)
tree7b26847227490081578ad4438adbf4c98b76d6c5
parentf8dd398a21b19cb7d5609260fcc18b0ce2bd617a (diff)
parent828e1573a722e8254037041eaccd3ae2bf6f9e60 (diff)
downloadgitlab-ce-092a34fe93c64ab637a8ce0524adba6c9cf4cdf7.tar.gz
Merge branch 'followup-to-40744-idempotent-ids' into 'master'
Fix JS equality rules in some specs See merge request gitlab-org/gitlab-ce!16734
-rw-r--r--spec/javascripts/pipelines/pipelines_table_row_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/pipelines/pipelines_table_row_spec.js b/spec/javascripts/pipelines/pipelines_table_row_spec.js
index b3cbf9aba48..de744739e42 100644
--- a/spec/javascripts/pipelines/pipelines_table_row_spec.js
+++ b/spec/javascripts/pipelines/pipelines_table_row_spec.js
@@ -26,8 +26,8 @@ describe('Pipelines Table Row', () => {
const pipelines = getJSONFixture(jsonFixtureName).pipelines;
pipeline = pipelines.find(p => p.user !== null && p.commit !== null);
- pipelineWithoutAuthor = pipelines.find(p => p.user == null && p.commit !== null);
- pipelineWithoutCommit = pipelines.find(p => p.user == null && p.commit == null);
+ pipelineWithoutAuthor = pipelines.find(p => p.user === null && p.commit !== null);
+ pipelineWithoutCommit = pipelines.find(p => p.user === null && p.commit === null);
});
afterEach(() => {