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
e8cca0a3
Commit
e8cca0a3
authored
Jun 07, 2017
by
Adam Niedzielski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec for Gitlab::EtagCaching::Router
parent
40588ddd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/lib/gitlab/etag_caching/router_spec.rb
spec/lib/gitlab/etag_caching/router_spec.rb
+4
-4
No files found.
spec/lib/gitlab/etag_caching/router_spec.rb
View file @
e8cca0a3
...
...
@@ -68,11 +68,11 @@ describe Gitlab::EtagCaching::Router do
end
it
'matches build endpoint'
do
env
=
build_env
(
request
=
build_request
(
'/my-group/my-project/builds/234.json'
)
result
=
described_class
.
match
(
env
)
result
=
described_class
.
match
(
request
)
expect
(
result
).
to
be_present
expect
(
result
.
name
).
to
eq
'project_build'
...
...
@@ -89,11 +89,11 @@ describe Gitlab::EtagCaching::Router do
end
it
'matches the environments path'
do
env
=
build_env
(
request
=
build_request
(
'/my-group/my-project/environments.json'
)
result
=
described_class
.
match
(
env
)
result
=
described_class
.
match
(
request
)
expect
(
result
).
to
be_present
expect
(
result
.
name
).
to
eq
'environments'
...
...
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