Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
dc19c25f
Commit
dc19c25f
authored
Jan 17, 2022
by
Corinna Wiesner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add spec for normalized data
parent
c7774666
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ee/spec/services/historical_user_data/csv_service_spec.rb
ee/spec/services/historical_user_data/csv_service_spec.rb
+6
-1
No files found.
ee/spec/services/historical_user_data/csv_service_spec.rb
View file @
dc19c25f
...
...
@@ -32,7 +32,12 @@ RSpec.describe HistoricalUserData::CsvService do
end
it
'shows the license key'
do
expect
(
csv
[
0
][
1
]).
to
eq
(
current_license
.
normalized_data
)
license
=
create
(
:license
,
data:
current_license
.
data
.
gsub
(
"
\n
"
,
"
\r\n
"
))
allow
(
License
).
to
receive
(
:current
).
and_return
(
license
)
expect
(
license
.
data
).
not_to
eq
(
license
.
normalized_data
)
expect
(
csv
[
0
][
1
]).
to
eq
(
license
.
normalized_data
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment