summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-01-26 14:26:04 +0000
committerNick Thomas <nick@gitlab.com>2018-01-26 16:52:56 +0000
commit828e1573a722e8254037041eaccd3ae2bf6f9e60 (patch)
tree2c968d46dccf8ef1b5c3c57cf00e63d9614eb327
parent4376be84ce18cde22febc50356ad254b507eef1b (diff)
downloadgitlab-ce-828e1573a722e8254037041eaccd3ae2bf6f9e60.tar.gz
Fix JS equality rules in some specs
-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(() => {