mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
About page links to the source code and the running commit
APP_REPOSITORY_URL overrides the repository for a fork. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
61c3749793
commit
bed07386ef
3 files changed
+16
-2
No files matched your search
@@ -15,7 +15,8 @@ class AdminAboutTest < ActionDispatch::IntegrationTest
|
||||
get admin_about_path
|
||||
end
|
||||
assert_response :success
|
||||
assert_select "[data-revision]", text: "abc1234"
|
||||
assert_select "[data-revision] a[href='#{SystemInfo::REPOSITORY_URL}/commit/abc1234']", text: "abc1234"
|
||||
assert_select "a[href='#{SystemInfo::REPOSITORY_URL}']", text: "Source code"
|
||||
body = response.body
|
||||
[ RUBY_VERSION, Rails.version, SQLite3::SQLITE_VERSION, Gem.loaded_specs["turbo-rails"].version.to_s ].each { assert_includes body, _1 }
|
||||
assert_includes body, "on (#{LogbookTranscriber::MODEL})"
|
||||
|
||||
Reference in new issue
Block a user