Skip to content

Commit

Permalink
Attempts to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rosschapman committed Oct 24, 2023
1 parent 8f703d1 commit eaad912
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<footer class="flex flex-row justify-between mt-3">
<%= render ButtonComponent.new(
label: "View #{t('marketplace.stripe_accounts.show.link_to')}",
title: t('marketplace.stripe_accounts.show.link_to'),
title: "View #{t('marketplace.stripe_accounts.show.link_to')}",
href: marketplace.location(:index, child: :stripe_account),
method: :get,
scheme: :secondary) %>
Expand Down
6 changes: 3 additions & 3 deletions spec/furniture/marketplace/collecting_payments_system_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
end

click_on("Payment Settings")
click_on("Stripe Account")
click_on("View Stripe Account")
click_on("Add a Stripe API key to #{space.name}")
click_on("Add Utility")
select("stripe", from: "Type")
Expand All @@ -35,7 +35,7 @@

visit polymorphic_path(marketplace.location(:edit))
click_on("Payment Settings")
click_on("Stripe Account")
click_on("View Stripe Account")
expect(page).to have_content("Connect to Stripe")
end

Expand All @@ -47,7 +47,7 @@
click_on("Manage Marketplace")
end
click_on("Payment Settings")
click_on("Stripe Account")
click_on("View Stripe Account")
expect(page).to have_content("Connect to Stripe")
# @todo actually figure out how to do the connect to stripe bit :X
end
Expand Down

0 comments on commit eaad912

Please sign in to comment.