Skip to content

Commit

Permalink
DEV: Correct merge conflicts for 9cfe3f9
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq committed Jul 24, 2019
1 parent 9cfe3f9 commit c4ff66e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
2 changes: 1 addition & 1 deletion spec/requests/omniauth_callbacks_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def enabled?
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
Expand Down

0 comments on commit c4ff66e

Please sign in to comment.