diff --git a/spec/controllers/discourse_patrons/patrons_controller_spec.rb b/spec/controllers/discourse_patrons/patrons_controller_spec.rb new file mode 100644 index 0000000..e9bcc52 --- /dev/null +++ b/spec/controllers/discourse_patrons/patrons_controller_spec.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +require 'rails_helper' + +module DiscoursePatrons + RSpec.describe PatronsController, type: :controller do + routes { DiscoursePatrons::Engine.routes } + end +end diff --git a/spec/plugin_helper.rb b/spec/plugin_helper.rb new file mode 100644 index 0000000..8e9b8f9 --- /dev/null +++ b/spec/plugin_helper.rb @@ -0,0 +1 @@ +# frozen_string_literal: true