1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 07:25:19 +02:00

Fix family subscription tests (thanks zach!)

This commit is contained in:
hatz 2025-05-13 13:55:27 -05:00
parent 49708ea5b2
commit 8b9b1d4c0f
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View file

@ -32,8 +32,6 @@ class SubscriptionsControllerTest < ActionDispatch::IntegrationTest
end
test "users who have already trialed cannot create a new subscription" do
@family.start_trial_subscription!
assert_no_difference "Subscription.count" do
post subscription_path
end

View file

@ -2,7 +2,7 @@ require "test_helper"
class SubscriptionTest < ActiveSupport::TestCase
setup do
@family = families(:empty)
@family = Family.create!(name: "Test Family")
end
test "can create subscription without stripe details if trial" do