Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
GitLab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
GitLab.org
GitLab
Commits
a7ba69d6
Commit
a7ba69d6
authored
2 years ago
by
Linjie Zhang
Browse files
Options
Downloads
Patches
Plain Diff
Fix license spec in JH repo
parent
3b0114ee
No related branches found
No related tags found
1 merge request
!86210
Fix license spec in JH repo
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ee/spec/models/license_spec.rb
+2
-2
2 additions, 2 deletions
ee/spec/models/license_spec.rb
with
2 additions
and
2 deletions
ee/spec/models/license_spec.rb
+
2
−
2
View file @
a7ba69d6
...
...
@@ -31,7 +31,7 @@
context
'with offline cloud license'
do
let
(
:gl_license
)
{
build
(
:gitlab_license
,
:cloud
,
:offline_enabled
,
starts_at:
'not-a-date'
)
}
let
(
:error_message
)
do
'The license key is invalid. Make sure it is exactly as you received it from GitLab Inc.'
_
(
'The license key is invalid. Make sure it is exactly as you received it from GitLab Inc.'
)
end
it_behaves_like
'an invalid license'
...
...
@@ -48,7 +48,7 @@
it
'adds an error'
do
expect
(
license
).
not_to
be_valid
expect
(
license
.
errors
.
full_messages
.
to_sentence
)
.
to
include
'The license key is invalid. Make sure it is exactly as you received it from GitLab Inc.'
.
to
include
_
(
'The license key is invalid. Make sure it is exactly as you received it from GitLab Inc.'
)
end
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment