diff --git a/backend/spec/requests/public/club_billing_spec.rb b/backend/spec/requests/public/club_billing_spec.rb index 41f15b9..2a2daa2 100644 --- a/backend/spec/requests/public/club_billing_spec.rb +++ b/backend/spec/requests/public/club_billing_spec.rb @@ -111,8 +111,8 @@ RSpec.describe "Public club billing", type: :request do login! get public_club_billing_path(club) - expect(response.body).to include("Attiva Premium Light — €40/anno") - expect(response.body).to include("Attiva Premium Light — €5/mese") + expect(response.body).to include("Premium Light — €40/anno") + expect(response.body).to include("Premium Light — €5/mese") allow(Billing::Stripe::CheckoutSession).to receive(:new).and_return( instance_double(Billing::Stripe::CheckoutSession, url: "https://checkout.stripe.com/test") @@ -141,7 +141,7 @@ RSpec.describe "Public club billing", type: :request do expect(response).to have_http_status(:ok) expect(club.reload.subscription.plan.slug).to eq("premium_light") - expect(response.body).to include("Piano attuale: Premium Light") + expect(response.body).to include("Piano attuale: Premium Light") expect(Billing::Stripe::CheckoutSync).to have_received(:call).with( club: club, session_id: "cs_test" )