summaryrefslogtreecommitdiff
path: root/lib/learn_gitlab/project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/learn_gitlab/project.rb')
-rw-r--r--lib/learn_gitlab/project.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/learn_gitlab/project.rb b/lib/learn_gitlab/project.rb
index 599f9940e53..64f91dcf1a8 100644
--- a/lib/learn_gitlab/project.rb
+++ b/lib/learn_gitlab/project.rb
@@ -3,6 +3,7 @@
module LearnGitlab
class Project
PROJECT_NAME = 'Learn GitLab'
+ PROJECT_NAME_ULTIMATE_TRIAL = 'Learn GitLab - Ultimate trial'
BOARD_NAME = 'GitLab onboarding'
LABEL_NAME = 'Novice'
@@ -15,7 +16,7 @@ module LearnGitlab
end
def project
- @project ||= current_user.projects.find_by_name(PROJECT_NAME)
+ @project ||= current_user.projects.find_by_name([PROJECT_NAME, PROJECT_NAME_ULTIMATE_TRIAL])
end
def board