diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2016-07-03 21:01:36 +0100 |
---|---|---|
committer | Paco Guzman <pacoguzmanp@gmail.com> | 2016-07-06 08:29:57 +0200 |
commit | 50dfdf0296ae307d0b22ae8bbd1b52dca9fbaea9 (patch) | |
tree | 00ba546b756f5446124baa8ce62204e9a15bc6d4 /spec/helpers | |
parent | 914bb05d282bca9c4509d56c1be409a5889e57b8 (diff) | |
download | gitlab-ce-50dfdf0296ae307d0b22ae8bbd1b52dca9fbaea9.tar.gz |
fix up tests
Added more exceptions
Added handling inline view type
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/diff_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/diff_helper_spec.rb b/spec/helpers/diff_helper_spec.rb index 52764f41e0d..a71dd53e6ed 100644 --- a/spec/helpers/diff_helper_spec.rb +++ b/spec/helpers/diff_helper_spec.rb @@ -59,7 +59,7 @@ describe DiffHelper do end it 'should return js class when bottom lines should be unfolded' do - expect(unfold_bottom_class(true)).to eq('js-unfold-bottom') + expect(unfold_bottom_class(true)).to include('js-unfold-bottom') end end |