diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-11 15:02:48 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-11 15:02:48 +0300 |
commit | f881e4367753075bbdbfaca1ea83a6ef80549b72 (patch) | |
tree | ff744590062ee336e800a990cae27101ee4678bb /spec | |
parent | f82d0d8d58d93ce335b499c007f838fcd1e7fe0f (diff) | |
parent | 9c046fea676b65c4883707fad22ceb8dd0e7525e (diff) | |
download | gitlab-ce-f881e4367753075bbdbfaca1ea83a6ef80549b72.tar.gz |
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.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 |