diff options
author | Phil Hughes <me@iamphill.com> | 2018-09-18 17:12:37 +0100 |
---|---|---|
committer | André Luís <aluis@gitlab.com> | 2018-09-21 11:59:44 +0100 |
commit | 78f64e83ab63461d8c21da48b41d3c6e77378b7b (patch) | |
tree | ea61d62a422de8e458763aa082e9aed3ecf56e29 /spec | |
parent | e3cc9d53d2fb69be8a79daacaecb28d45280880a (diff) | |
download | gitlab-ce-78f64e83ab63461d8c21da48b41d3c6e77378b7b.tar.gz |
Changed `true` string to a boolean
Fixed toBeTruthy to toBe(true) in spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/diffs/store/actions_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/diffs/store/actions_spec.js b/spec/javascripts/diffs/store/actions_spec.js index 5b1a0b2f392..05b39bad6ea 100644 --- a/spec/javascripts/diffs/store/actions_spec.js +++ b/spec/javascripts/diffs/store/actions_spec.js @@ -271,8 +271,8 @@ describe('DiffsStoreActions', () => { startRenderDiffsQueue({ state, commit: pseudoCommit }); - expect(state.diffFiles[0].renderIt).toBeTruthy(); - expect(state.diffFiles[1].renderIt).toBeTruthy(); + expect(state.diffFiles[0].renderIt).toBe(true); + expect(state.diffFiles[1].renderIt).toBe(true); }); }); |