mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-07-01 03:52:12 +00:00
13 lines
273 B
Ruby
13 lines
273 B
Ruby
require 'rails_helper'
|
|
|
|
module DiscoursePayments
|
|
RSpec.describe PaymentsController, type: :controller do
|
|
routes { DiscoursePayments::Engine.routes }
|
|
#
|
|
it 'responds with ok' do
|
|
post :create
|
|
expect(response).to have_http_status(200)
|
|
end
|
|
end
|
|
end
|