diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-05-07 12:09:05 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-05-13 15:34:00 +0300 |
commit | bb89661365a3085302d7fbc0e66e991a421f73c6 (patch) | |
tree | 9c43bae92a21220734b4202ea54eb7ae7eca67ea | |
parent | 6b04a5f9108c640f638afa8055e2a5b60f926d5a (diff) | |
download | gitlab-ce-bb89661365a3085302d7fbc0e66e991a421f73c6.tar.gz |
Better name for config variable.
-rw-r--r-- | spec/helpers/gitlab_markdown_helper_spec.rb | 4 |
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 |