0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-14 22:02:53 +01:00
discourse-custom-wizard/spec/jobs/update_subscription_spec.rb

12 Zeilen
312 B
Ruby

2021-09-07 14:06:13 +02:00
# frozen_string_literal: true
require_relative '../plugin_helper'
2021-09-24 11:58:42 +02:00
describe Jobs::CustomWizardUpdateSubscription do
it "updates the subscription" do
2021-09-07 14:06:13 +02:00
stub_subscription_request(200, valid_subscription)
described_class.new.execute
2021-09-24 11:58:42 +02:00
expect(CustomWizard::Subscription.subscribed?).to eq(true)
2021-09-07 14:06:13 +02:00
end
end