diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-12-24 13:38:17 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-12-24 13:38:17 +0200 |
commit | 999a374f778909b3681190dcf0936ba9bb989413 (patch) | |
tree | 03a14e9bc34eb856a66c3a641ac1383d21a6f396 /spec/models/key_spec.rb | |
parent | d794ae8e1f6351282707d45df97ac0ec2a41eeb6 (diff) | |
parent | e557c8d0a2c1b05148a9d73a8a658962a3ef6147 (diff) | |
download | gitlab-ce-emoji_picker_frequently_used.tar.gz |
Merge branch 'emoji-picker-search'into emoji_picker_frequently_usedemoji_picker_frequently_used
Diffstat (limited to 'spec/models/key_spec.rb')
-rw-r--r-- | spec/models/key_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/key_spec.rb b/spec/models/key_spec.rb index d7fe01976d8..c962b83644a 100644 --- a/spec/models/key_spec.rb +++ b/spec/models/key_spec.rb @@ -81,7 +81,7 @@ describe Key, models: true do it 'rejects the multiple line key' do key = build(:key) - key.key.gsub!(' ', "\n") + key.key.tr!(' ', "\n") expect(key).not_to be_valid end end |