canvas-lms/spec/views
AJ Esa 1a2879b622 Fix bug where sso-icon does not populate
User login sso-icons were not showing in login information of the
user page. This was due to the lookup code for the svg not working,
when the view is checking if the svg exists. In my testing, the old
lookup code works for erb files but not svg files. This code change
will correctly check if the svg file exists.

fixes FOO-3368
flag=none

test plan:
 - Import user with authentication_provider_id set to canvas
 - Confirm login information of user shows canvas icon on user page

Change-Id: I09736471b5c317ce1b73a5f44439095c5547de2a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/312704
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: August Thornton <august@instructure.com>
QA-Review: Ajmal Esa <ajmal.esa@instructure.com>
Product-Review: Ajmal Esa <ajmal.esa@instructure.com>
2023-03-13 16:34:48 +00:00
..
accounts Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
announcements Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
assignments add submit for student file upload button and modal 2023-01-03 21:28:01 +00:00
authentication_providers RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
calendars Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
collaborations Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
communication_channels Some little rails 7.0 spec fixes 2022-06-08 16:14:47 +00:00
conferences Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
context Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
context_modules Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
courses Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
discussion_topics Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
enrollment_terms Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
eportfolios improve recent submission filtering in eportfolios 2023-01-10 22:55:55 +00:00
errors Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
files Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
gradebooks fix student unread grade content participation 2023-01-13 18:06:08 +00:00
groups Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
layouts spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
login/canvas Some little rails 7.0 spec fixes 2022-06-08 16:14:47 +00:00
lti RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
plugins RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
profile add setting to limit profile editing by non-admins 2022-11-01 21:21:07 +00:00
pseudonyms Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
quizzes Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
sections Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
shared Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
submissions add submit for student file upload button and modal 2023-01-03 21:28:01 +00:00
terms Fix a bunch of erb related specs on rails 7.0 2022-11-01 15:13:13 +00:00
users Fix bug where sso-icon does not populate 2023-03-13 16:34:48 +00:00
form_options_helper_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
views_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00