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:
parent
49708ea5b2
commit
8b9b1d4c0f
2 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue