Replace more font-awesome
icons in app/helpers
(#30962)
This commit is contained in:
parent
e4092cc73a
commit
52a626f39b
6 changed files with 20 additions and 18 deletions
|
@ -223,7 +223,7 @@ describe ApplicationHelper do
|
|||
|
||||
it 'returns an unlock icon for a unlisted visible status' do
|
||||
result = helper.visibility_icon Status.new(visibility: 'unlisted')
|
||||
expect(result).to match(/unlock/)
|
||||
expect(result).to match(/lock_open/)
|
||||
end
|
||||
|
||||
it 'returns a lock icon for a private visible status' do
|
||||
|
@ -233,7 +233,7 @@ describe ApplicationHelper do
|
|||
|
||||
it 'returns an at icon for a direct visible status' do
|
||||
result = helper.visibility_icon Status.new(visibility: 'direct')
|
||||
expect(result).to match(/at/)
|
||||
expect(result).to match(/alternate_email/)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue