Skip to content

Commit

Permalink
change service provider -> partner
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdembe committed Jan 8, 2025
1 parent eb25134 commit 884b507
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion app/controllers/accounts/connected_accounts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def show
end

def all_emails_requested?
binding.pry
if decorated_sp_session.requested_attributes.present?
decorated_sp_session.requested_attributes.map(&:to_sym).include?('all_emails') ||
decorated_sp_session.requested_attributes.map(&:to_sym).include?('email')
Expand Down
6 changes: 3 additions & 3 deletions app/views/accounts/_connected_app.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
</strong>
<% if @presenter.show_change_option %>
<%= link_to(
t('help_text.requested_attributes.change_email_link'),
edit_connected_account_selected_email_path(identity_id: identity.id),
) %>
t('help_text.requested_attributes.change_email_link'),
edit_connected_account_selected_email_path(identity_id: identity.id),
) %>
<% end %>
<% else %>
<%= t(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
end
end

context 'when the service provider requests all emails' do
context 'when the partner requests all emails' do
before do
assign(
:presenter,
Expand Down

0 comments on commit 884b507

Please sign in to comment.