Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-11 16:02:48 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-11 16:02:48 +0400
commitf881e4367753075bbdbfaca1ea83a6ef80549b72 (patch)
treeff744590062ee336e800a990cae27101ee4678bb /spec
parentf82d0d8d58d93ce335b499c007f838fcd1e7fe0f (diff)
parent9c046fea676b65c4883707fad22ceb8dd0e7525e (diff)
Merge pull request #7024 from skv-headless/linkto_issues_on_main_dashboard
links to issues on main dashboard
Diffstat (limited to 'spec')
-rw-r--r--spec/helpers/gitlab_markdown_helper_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/helpers/gitlab_markdown_helper_spec.rb b/spec/helpers/gitlab_markdown_helper_spec.rb
index 49b48d26e2b..fc9d1ac90c0 100644
--- a/spec/helpers/gitlab_markdown_helper_spec.rb
+++ b/spec/helpers/gitlab_markdown_helper_spec.rb
@@ -41,7 +41,8 @@ describe GitlabMarkdownHelper do
end
it "should forward HTML options to links" do
- gfm("Fixed in #{commit.id}", class: "foo").should have_selector("a.gfm.foo")
+ gfm("Fixed in #{commit.id}", @project, class: 'foo').
+ should have_selector('a.gfm.foo')
end
describe "referencing a commit" do