mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
Billing (#1269)
* Change env SELF_HOSTING_ENABLED to SELF_HOSTED * Initial Stripe implementation * Fix portal link * Use webhook signatures * Migrated to new Stripe gem conventions Also updated resource routing * Added faraday-multipart gem to resolve middleware notice * Merge fix * Merge fix * Temporary upgrade prompt for early access * Lint fix * i18n fixes * Remove catch-all rescue * Update .env.example
This commit is contained in:
7
test/controllers/settings/billings_controller_test.rb
Normal file
7
test/controllers/settings/billings_controller_test.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
require "test_helper"
|
||||
|
||||
class Settings::BillingsControllerTest < ActionDispatch::IntegrationTest
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
||||
7
test/controllers/subscriptions_controller_test.rb
Normal file
7
test/controllers/subscriptions_controller_test.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
require "test_helper"
|
||||
|
||||
class SubscriptionsControllerTest < ActionDispatch::IntegrationTest
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
||||
7
test/controllers/webhooks_controller_test.rb
Normal file
7
test/controllers/webhooks_controller_test.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
require "test_helper"
|
||||
|
||||
class WebhooksControllerTest < ActionDispatch::IntegrationTest
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
||||
@@ -7,7 +7,7 @@ end
|
||||
|
||||
require_relative "../config/environment"
|
||||
|
||||
ENV["SELF_HOSTING_ENABLED"] = "false"
|
||||
ENV["SELF_HOSTED"] = "false"
|
||||
ENV["UPGRADES_ENABLED"] = "false"
|
||||
ENV["RAILS_ENV"] ||= "test"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user