Sha256: d15e47233165f91b8ea6a3bf621687b034928952e52f08f9283a909963e8d462
Contents?: true
Size: 425 Bytes
Versions: 53
Compression:
Stored size: 425 Bytes
Contents
require 'test_helper' class DiscoApp::SubscriptionTest < ActiveSupport::TestCase def setup @shop = disco_app_shops(:widget_store) end def teardown @shop = nil end test 'changing the amount on a subscription cancels its charge' do assert @shop.current_subscription.active_charge? @shop.current_subscription.update(amount: 1138) assert_not @shop.current_subscription.active_charge? end end
Version data entries
53 entries across 53 versions & 1 rubygems