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
1a2d9231
Commit
1a2d9231
authored
Mar 12, 2020
by
Sean Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs after changes
parent
27eea3a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ee/spec/lib/status_page/storage_spec.rb
ee/spec/lib/status_page/storage_spec.rb
+2
-2
ee/spec/serializers/status_page/incident_entity_spec.rb
ee/spec/serializers/status_page/incident_entity_spec.rb
+2
-1
No files found.
ee/spec/lib/status_page/storage_spec.rb
View file @
1a2d9231
...
...
@@ -6,12 +6,12 @@ describe StatusPage::Storage do
describe
'.details_path'
do
subject
{
described_class
.
details_path
(
123
)
}
it
{
is_expected
.
to
eq
(
'incident/123.json'
)
}
it
{
is_expected
.
to
eq
(
'
data/
incident/123.json'
)
}
end
describe
'.list_path'
do
subject
{
described_class
.
list_path
}
it
{
is_expected
.
to
eq
(
'list.json'
)
}
it
{
is_expected
.
to
eq
(
'
data/
list.json'
)
}
end
end
ee/spec/serializers/status_page/incident_entity_spec.rb
View file @
1a2d9231
...
...
@@ -19,7 +19,8 @@ describe StatusPage::IncidentEntity do
description:
issue
.
description_html
,
updated_at:
issue
.
updated_at
,
created_at:
issue
.
created_at
,
comments:
[]
comments:
[],
links:
{
details:
"data/incident/
#{
issue
.
iid
}
.json"
}
)
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