summaryrefslogtreecommitdiff
path: root/spec/helpers
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-05-07 12:09:05 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-13 15:34:00 +0300
commitbb89661365a3085302d7fbc0e66e991a421f73c6 (patch)
tree9c43bae92a21220734b4202ea54eb7ae7eca67ea /spec/helpers
parent6b04a5f9108c640f638afa8055e2a5b60f926d5a (diff)
downloadgitlab-ce-bb89661365a3085302d7fbc0e66e991a421f73c6.tar.gz
Better name for config variable.
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/gitlab_markdown_helper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/gitlab_markdown_helper_spec.rb b/spec/helpers/gitlab_markdown_helper_spec.rb
index 8c33ceeff26..49b48d26e2b 100644
--- a/spec/helpers/gitlab_markdown_helper_spec.rb
+++ b/spec/helpers/gitlab_markdown_helper_spec.rb
@@ -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