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
Léo-Paul Géneau
gitlab-ce
Commits
6093b2a1
Commit
6093b2a1
authored
Jan 18, 2018
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add test for search terms with +
parent
aaa23968
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
spec/javascripts/boards/utils/query_data_spec.js
spec/javascripts/boards/utils/query_data_spec.js
+9
-2
No files found.
spec/javascripts/boards/utils/query_data_spec.js
View file @
6093b2a1
...
@@ -11,11 +11,18 @@ describe('queryData', () => {
...
@@ -11,11 +11,18 @@ describe('queryData', () => {
});
});
it
(
'
parses path for milestone with trailing +
'
,
()
=>
{
it
(
'
parses path for milestone with trailing +
'
,
()
=>
{
const
path
=
'
milestone_title=A%2B
'
;
expect
(
expect
(
queryData
(
path
,
{}),
queryData
(
'
milestone_title=A%2B
'
,
{}),
).
toEqual
({
).
toEqual
({
milestone_title
:
'
A+
'
,
milestone_title
:
'
A+
'
,
});
});
});
});
it
(
'
parses path for search terms with spaces
'
,
()
=>
{
expect
(
queryData
(
'
search=two+words
'
,
{}),
).
toEqual
({
search
:
'
two words
'
,
});
});
});
});
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