diff options
Diffstat (limited to 'spec/helpers/icons_helper_spec.rb')
-rw-r--r-- | spec/helpers/icons_helper_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/helpers/icons_helper_spec.rb b/spec/helpers/icons_helper_spec.rb index 94012de3877..c05b2b206cc 100644 --- a/spec/helpers/icons_helper_spec.rb +++ b/spec/helpers/icons_helper_spec.rb @@ -97,19 +97,19 @@ RSpec.describe IconsHelper do it 'returns right icon name for standard auth' do icon_name = 'standard' expect(audit_icon(icon_name).to_s) - .to eq '<i class="fa fa-key"></i>' + .to eq sprite_icon('key') end it 'returns right icon name for two-factor auth' do icon_name = 'two-factor' expect(audit_icon(icon_name).to_s) - .to eq '<i class="fa fa-key"></i>' + .to eq sprite_icon('key') end it 'returns right icon name for google_oauth2 auth' do icon_name = 'google_oauth2' expect(audit_icon(icon_name).to_s) - .to eq '<i class="fa fa-google"></i>' + .to eq sprite_icon('google') end end |