mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-03-06 01:29:31 +00:00
15 lines
295 B
Ruby
15 lines
295 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
module DiscoursePatrons
|
|
RSpec.describe PlansController do
|
|
describe "index" do
|
|
it "lists the active plans" do
|
|
::Stripe::Plan.expects(:list).with(active: true)
|
|
get "/patrons/plans.json"
|
|
end
|
|
end
|
|
end
|
|
end
|