Commit bb896613 authored by Marin Jankovski's avatar Marin Jankovski Committed by Dmitriy Zaporozhets

Better name for config variable.

parent 6b04a5f9
...@@ -187,8 +187,8 @@ describe GitlabMarkdownHelper do ...@@ -187,8 +187,8 @@ describe GitlabMarkdownHelper do
let(:reference) { "JIRA-#{issue.iid}" } let(:reference) { "JIRA-#{issue.iid}" }
before do before do
hash = { "jira" => { "title" => "JIRA tracker", "issues_url" => "http://jira.example/browse/:id" } } issue_tracker_config = { "jira" => { "title" => "JIRA tracker", "issues_url" => "http://jira.example/browse/:id" } }
Gitlab.config.stub(:issues_tracker).and_return(hash) Gitlab.config.stub(:issues_tracker).and_return(issue_tracker_config)
@project.stub(:issues_tracker).and_return("jira") @project.stub(:issues_tracker).and_return("jira")
@project.stub(:issues_tracker_id).and_return("JIRA") @project.stub(:issues_tracker_id).and_return("JIRA")
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment