Commit bb89661365a3085302d7fbc0e66e991a421f73c6
Committed by
Dmitriy Zaporozhets
1 parent
6b04a5f9
Exists in
spb-stable
and in
2 other branches
Better name for config variable.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
spec/helpers/gitlab_markdown_helper_spec.rb
... | ... | @@ -187,8 +187,8 @@ describe GitlabMarkdownHelper do |
187 | 187 | let(:reference) { "JIRA-#{issue.iid}" } |
188 | 188 | |
189 | 189 | before do |
190 | - hash = { "jira" => { "title" => "JIRA tracker", "issues_url" => "http://jira.example/browse/:id" } } | |
191 | - Gitlab.config.stub(:issues_tracker).and_return(hash) | |
190 | + issue_tracker_config = { "jira" => { "title" => "JIRA tracker", "issues_url" => "http://jira.example/browse/:id" } } | |
191 | + Gitlab.config.stub(:issues_tracker).and_return(issue_tracker_config) | |
192 | 192 | @project.stub(:issues_tracker).and_return("jira") |
193 | 193 | @project.stub(:issues_tracker_id).and_return("JIRA") |
194 | 194 | end | ... | ... |