Add billing system with Stripe

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Jason Zimdars <jz@37signals.com>
This commit is contained in:
Jorge Manrubia
2025-12-10 16:08:38 +01:00
parent 76400765c1
commit ee80b87c8c
18 changed files with 86 additions and 197 deletions
@@ -1,23 +0,0 @@
require "test_helper"
class Admin::StatsControllerTest < ActionDispatch::IntegrationTest
test "staff can access stats" do
sign_in_as :david
untenanted do
get admin_stats_url
end
assert_response :success
end
test "non-staff cannot access stats" do
sign_in_as :jz
untenanted do
get admin_stats_url
end
assert_response :forbidden
end
end