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
32eb647c
Commit
32eb647c
authored
May 07, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better name for config variable.
parent
7bc054ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/helpers/gitlab_markdown_helper_spec.rb
spec/helpers/gitlab_markdown_helper_spec.rb
+2
-2
No files found.
spec/helpers/gitlab_markdown_helper_spec.rb
View file @
32eb647c
...
...
@@ -187,8 +187,8 @@ describe GitlabMarkdownHelper do
let
(
:reference
)
{
"JIRA-
#{
issue
.
iid
}
"
}
before
do
hash
=
{
"jira"
=>
{
"title"
=>
"JIRA tracker"
,
"issues_url"
=>
"http://jira.example/browse/:id"
}
}
Gitlab
.
config
.
stub
(
:issues_tracker
).
and_return
(
hash
)
issue_tracker_config
=
{
"jira"
=>
{
"title"
=>
"JIRA tracker"
,
"issues_url"
=>
"http://jira.example/browse/:id"
}
}
Gitlab
.
config
.
stub
(
:issues_tracker
).
and_return
(
issue_tracker_config
)
@project
.
stub
(
:issues_tracker
).
and_return
(
"jira"
)
@project
.
stub
(
:issues_tracker_id
).
and_return
(
"JIRA"
)
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