diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2018-11-30 07:03:35 +0300 |
---|---|---|
committer | Heinrich Lee Yu <hleeyu@gmail.com> | 2018-12-20 02:28:28 +0300 |
commit | 95aae95a1cbb55facd127c74d6c044b13533f3fe (patch) | |
tree | 6ecf27a219ee09f9e9d294d8304df2cb93c4da3d /spec/helpers/issuables_helper_spec.rb | |
parent | 48d2c02efe7697914591d7381ce1c72d68eed336 (diff) |
Code style changes and refactor
Diffstat (limited to 'spec/helpers/issuables_helper_spec.rb')
-rw-r--r-- | spec/helpers/issuables_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/issuables_helper_spec.rb b/spec/helpers/issuables_helper_spec.rb index 3efac10ac9f..81231cca085 100644 --- a/spec/helpers/issuables_helper_spec.rb +++ b/spec/helpers/issuables_helper_spec.rb @@ -43,8 +43,8 @@ describe IssuablesHelper do end describe '#issuable_labels_tooltip' do - let (:label_entity) { LabelEntity.represent(label) } - let (:label2_entity) { LabelEntity.represent(label2) } + let(:label_entity) { LabelEntity.represent(label).as_json } + let(:label2_entity) { LabelEntity.represent(label2).as_json } it 'returns label text with no labels' do expect(issuable_labels_tooltip([])).to eq("Labels") |