aboutsummaryrefslogtreecommitdiff
path: root/test/system/licenses_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/system/licenses_test.rb')
-rw-r--r--test/system/licenses_test.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/system/licenses_test.rb b/test/system/licenses_test.rb
new file mode 100644
index 0000000..1e26664
--- /dev/null
+++ b/test/system/licenses_test.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+require 'application_system_test_case'
+
+class LicensesTest < ApplicationSystemTestCase
+ test 'can reach #show without login' do
+ visit license_url
+
+ assert_text 'AGPLv3'
+ end
+end