DEV: Correct merge conflicts for 9cfe3f99

This commit is contained in:
David Taylor 2019-07-24 13:31:16 +01:00
parent 9cfe3f9948
commit c4ff66e1a5
2 changed files with 2 additions and 4 deletions

View File

@ -134,9 +134,7 @@
<td>{{authProvider.account.description}}</td>
<td>
{{#if authProvider.method.can_revoke}}
{{#conditional-loading-spinner condition=revoking size='small'}}
{{d-button action=(action "revokeAccount") actionParam=authProvider.account title="user.associated_accounts.revoke" class="btn-danger no-text" icon="trash-alt" }}
{{/conditional-loading-spinner}}
{{d-button action=(action "revokeAccount") actionParam=authProvider.account title="user.associated_accounts.revoke" class="btn-danger no-text" icon="trash-alt" disabled=(get revoking authProvider.method.name) }}
{{/if}}
</td>
{{else}}

View File

@ -487,7 +487,7 @@ RSpec.describe Users::OmniauthCallbacksController do
expect(response.redirect_url).to start_with("http://test.localhost/associate/")
expect(session[:current_user_id]).to eq(user.id)
expect(UserAssociatedAccount.count).to eq(0) # Reconnect has not yet happened
expect(UserAssociatedAccount.count).to eq(1) # Reconnect has not yet happened
end
end