summaryrefslogtreecommitdiff
path: root/spec/helpers
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-05-14 13:05:33 +0200
committerDouwe Maan <douwe@gitlab.com>2015-05-14 13:05:33 +0200
commitcd52cef1c0898230cb684ee294bd7a6c5b2f226a (patch)
treeeb55e471d7d5e3d626f266b77f6931c708e145d4 /spec/helpers
parent910794bae5a91479f41468ebc345db680a33b20e (diff)
downloadgitlab-ce-cd52cef1c0898230cb684ee294bd7a6c5b2f226a.tar.gz
Fix reference links in dashboard activity and ATOM feeds.dashboard-references
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/gitlab_markdown_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/gitlab_markdown_helper_spec.rb b/spec/helpers/gitlab_markdown_helper_spec.rb
index 7d0335c2320..9f3e8cf585e 100644
--- a/spec/helpers/gitlab_markdown_helper_spec.rb
+++ b/spec/helpers/gitlab_markdown_helper_spec.rb
@@ -21,7 +21,7 @@ describe GitlabMarkdownHelper do
describe "#gfm" do
it "should forward HTML options to links" do
- expect(gfm("Fixed in #{commit.id}", @project, class: 'foo')).
+ expect(gfm("Fixed in #{commit.id}", { project: @project }, class: 'foo')).
to have_selector('a.gfm.foo')
end