summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/language_detection_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/language_detection_spec.rb')
-rw-r--r--spec/lib/gitlab/language_detection_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/gitlab/language_detection_spec.rb b/spec/lib/gitlab/language_detection_spec.rb
index 04ad19a04ec..14523be8ec6 100644
--- a/spec/lib/gitlab/language_detection_spec.rb
+++ b/spec/lib/gitlab/language_detection_spec.rb
@@ -15,6 +15,7 @@ RSpec.describe Gitlab::LanguageDetection do
{ value: 1.51, label: "Go", color: "#2a4776", highlight: "#244776" },
{ value: 1.1, label: "MepmepLang", color: "#2a4776", highlight: "#244776" }]
end
+
let(:repository_languages) do
[RepositoryLanguage.new(share: 10, programming_language: ruby)]
end