Skip to content

Commit 8dd4d86

Browse files
Update tests
1 parent 01e9576 commit 8dd4d86

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dpc-portal/spec/components/page/credential_delegate/list_component_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<h2>Invites</h2>
4949
</div>
5050
<div class="flex-align-self-center">
51-
<a href="/organizations/#{org.path_id}/credential_delegate_invitations/new" class="usa-button">Invite CD</a>
51+
<a href="/organizations/#{org.path_id}/credential_delegate_invitations/new" class="usa-button margin-0">Invite CD</a>
5252
</div>
5353
</div>
5454
<p>You can invite users to be Credential Delegates.</p>

dpc-portal/spec/components/page/organization/credentials_componenent_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@
2020
let(:org) { ComponentSupport::MockOrg.new(0) }
2121
it 'Should have Generate token button' do
2222
button = <<~BUTTON
23-
<a class="usa-button" href="/organizations/#{org.path_id}/client_tokens/new">Generate token</a>
23+
<a class="usa-button margin-0" href="/organizations/#{org.path_id}/client_tokens/new">Generate token</a>
2424
BUTTON
2525
is_expected.to include(normalize_space(button))
2626
end
2727
it 'Should have Create key button' do
2828
button = <<~BUTTON
29-
<a class="usa-button" href="/organizations/#{org.path_id}/public_keys/new">Add key</a>
29+
<a class="usa-button margin-0" href="/organizations/#{org.path_id}/public_keys/new">Add key</a>
3030
BUTTON
3131
is_expected.to include(normalize_space(button))
3232
end
3333
it 'Should have Add IP button' do
3434
button = <<~BUTTON
35-
<a class="usa-button" href="/organizations/#{org.path_id}/ip_addresses/new">Add IP</a>
35+
<a class="usa-button margin-0" href="/organizations/#{org.path_id}/ip_addresses/new">Add IP</a>
3636
BUTTON
3737
is_expected.to include(normalize_space(button))
3838
end

0 commit comments

Comments
 (0)