1
0
Fork 0
discourse-custom-wizard-unl.../spec/jobs/update_subscription_spec.rb
angusmcleod 084c6f4a7a wip
2021-09-24 17:58:42 +08:00

11 Zeilen
312 B
Ruby

# frozen_string_literal: true
require_relative '../plugin_helper'
describe Jobs::CustomWizardUpdateSubscription do
it "updates the subscription" do
stub_subscription_request(200, valid_subscription)
described_class.new.execute
expect(CustomWizard::Subscription.subscribed?).to eq(true)
end
end