summaryrefslogtreecommitdiff
path: root/spec/helpers
diff options
context:
space:
mode:
authorskv <skv-headless@yandex.ru>2014-05-26 16:40:10 +0400
committerGitLab <gitlab@localhost>2014-05-26 13:24:21 +0000
commit9c046fea676b65c4883707fad22ceb8dd0e7525e (patch)
tree4e08ecb621dc3e9a551ef07ad6208b2f4c49e8da /spec/helpers
parentef933ae69bb48fd186c650927bff7d52a3956174 (diff)
downloadgitlab-ce-9c046fea676b65c4883707fad22ceb8dd0e7525e.tar.gz
links to issues on main dashboard
Diffstat (limited to 'spec/helpers')
-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