0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 01:10:28 +01:00

instantiate mocked up interface for more tests

Dieser Commit ist enthalten in:
merefield 2023-09-28 12:13:45 +01:00
Ursprung 6aa68ebd5f
Commit c0082b82b9

Datei anzeigen

@ -9,11 +9,13 @@ def get_wizard_fixture(path)
end
def enable_subscription(type)
define_client_classes
CustomWizard::Subscription.stubs("#{type}?".to_sym).returns(true)
CustomWizard::Subscription.any_instance.stubs("#{type}?".to_sym).returns(true)
end
def disable_subscriptions
define_client_classes
%w[
standard
business