diff options
author | skv <skv-headless@yandex.ru> | 2014-05-26 16:40:10 +0400 |
---|---|---|
committer | GitLab <gitlab@localhost> | 2014-05-26 13:24:21 +0000 |
commit | 9c046fea676b65c4883707fad22ceb8dd0e7525e (patch) | |
tree | 4e08ecb621dc3e9a551ef07ad6208b2f4c49e8da /spec/helpers | |
parent | ef933ae69bb48fd186c650927bff7d52a3956174 (diff) | |
download | gitlab-ce-9c046fea676b65c4883707fad22ceb8dd0e7525e.tar.gz |
links to issues on main dashboard
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/gitlab_markdown_helper_spec.rb | 3 |
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 |