From 78f64e83ab63461d8c21da48b41d3c6e77378b7b Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Tue, 18 Sep 2018 17:12:37 +0100 Subject: Changed `true` string to a boolean Fixed toBeTruthy to toBe(true) in spec --- spec/javascripts/diffs/store/actions_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/javascripts/diffs/store') 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); }); }); -- cgit v1.2.1