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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
f3ee7fc8
Commit
f3ee7fc8
authored
Aug 18, 2016
by
winniehell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add failing test for gitlab-com/support-forum#952
parent
1f127006
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
spec/lib/extracts_path_spec.rb
spec/lib/extracts_path_spec.rb
+10
-0
No files found.
spec/lib/extracts_path_spec.rb
View file @
f3ee7fc8
...
@@ -52,6 +52,16 @@ describe ExtractsPath, lib: true do
...
@@ -52,6 +52,16 @@ describe ExtractsPath, lib: true do
expect
(
@id
).
to
start_with
(
'foo%20bar/'
)
expect
(
@id
).
to
start_with
(
'foo%20bar/'
)
end
end
end
end
context
'path contains space'
do
let
(
:params
)
{
{
path:
'with space'
,
ref:
'38008cb17ce1466d8fec2dfa6f6ab8dcfe5cf49e'
}
}
it
'is not converted to %20 in @path'
do
assign_ref_vars
expect
(
@path
).
to
eq
(
params
[
:path
])
end
end
end
end
describe
'#extract_ref'
do
describe
'#extract_ref'
do
...
...
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