Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-10 12:22:54 +01:00
12 Zeilen
306 B
Ruby
12 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
|