1
0
Fork 0
discourse-custom-wizard-unl.../spec/jobs/update_pro_subscription_spec.rb
2021-09-07 20:06:13 +08:00

11 Zeilen
306 B
Ruby

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