diff --git a/app/views/student_view/process/review.html.erb b/app/views/student_view/process/review.html.erb index 390e1bf..8a4b390 100644 --- a/app/views/student_view/process/review.html.erb +++ b/app/views/student_view/process/review.html.erb @@ -66,12 +66,12 @@
-

Yorkspace Distribution Licence

+

YorkSpace Non-Exclusive Distribution Licence

Please review the licence below and accept if you agree

@@ -83,7 +83,7 @@
- <%= f.input :yorkspace_licence_agreement, as: :boolean, label: "I agree to YorkSpace Distribution Licence", required: true %> + <%= f.input :yorkspace_licence_agreement, as: :boolean, label: "I agree to YorkSpace Non-Exclusive Distribution Licence", required: true %>
diff --git a/test/system/students_test.rb b/test/system/students_test.rb index 1ed898b..d2c82ae 100644 --- a/test/system/students_test.rb +++ b/test/system/students_test.rb @@ -287,13 +287,13 @@ class StudentsTest < ApplicationSystemTestCase assert page.has_selector?('#thesis_yorkspace_licence_agreement', visible: true), "#thesis_yorkspace_licence_agreement not found." checkbox = find('#thesis_yorkspace_licence_agreement', visible: true) assert_not checkbox.disabled? - click_link('View YorkSpace Licence Agreement') + click_link('View YorkSpace Non-Exclusive Distribution Licence Agreement') assert page.has_selector?('#yorkspace-licence', visible: true), "#yorkspace-licence not found." assert page.has_selector?('#thesis_yorkspace_licence_agreement', visible: true), "#thesis_yorkspace_licence_agreement not found." checkbox = find('#thesis_yorkspace_licence_agreement', visible: true) checkbox.check - check('I agree to YorkSpace Distribution Licence', allow_label_click: true) + check('I agree to YorkSpace Non-Exclusive Distribution Licence', allow_label_click: true) assert checkbox.checked?, "#thesis_yorkspace_licence_agreement checkbox is not checked."