mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 15:50:36 -05:00
2026.11.2: disclaimer (no warranty; verifying legal use is up to the user)
- docs/guide/disclaimer.md, shown as Help -> Disclaimer: provided as is, not FAA-approved, user verifies legal and suitable use (43.9/43.11/91.417, AC 120-78B), status and AD matches don't replace the records or the PIC's decision, no liability, host responsible for the instance - README: notice at the top and a Disclaimer section - Footer notice on every page (app and public layouts), notice on first-run setup, link from Admin -> About and the guide's start page Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
352a38c7fb
commit
e939d29deb
12 files changed
+63
-3
No files matched your search
@@ -29,6 +29,14 @@ class UserGuideTest < ActionDispatch::IntegrationTest
|
||||
end
|
||||
end
|
||||
|
||||
test "the disclaimer says verifying legal use is up to the user, and every page links to it" do
|
||||
get help_page_path("disclaimer")
|
||||
assert_response :success
|
||||
assert_includes response.body, "up to you to verify"
|
||||
get root_path
|
||||
assert_select "footer a[href='#{help_page_path("disclaimer")}']", "Disclaimer"
|
||||
end
|
||||
|
||||
test "only guide pages can be opened" do
|
||||
get "/help/secrets"
|
||||
assert_response :not_found
|
||||
|
||||
Reference in new issue
Block a user