discourse-subscriptions/spec/controllers/discourse_patrons/admin_controller_spec.rb

17 lines
377 B
Ruby

# frozen_string_literal: true
require 'rails_helper'
module DiscoursePatrons
RSpec.describe AdminController, type: :controller do
routes { DiscoursePatrons::Engine.routes }
it 'is a subclass of AdminController' do
expect(DiscoursePatrons::AdminController < Admin::AdminController).to eq(true)
end
# TODO authenticate
it 'has payments'
end
end