summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-08-31 18:09:18 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-08-31 18:09:18 -0400
commit2930041886fb616bd98ba31627d0ce53e0f7603a (patch)
treea7c589875b3405064ccf0ed8c0b601d1a1271764 /spec/features
parentc104f4d590b16d4784d029c953be90fda130e8b4 (diff)
downloadgitlab-ce-2930041886fb616bd98ba31627d0ce53e0f7603a.tar.gz
Make sure the `gfm` helper passes the required options
This adds some duplication, but this helper is temporary.
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/gitlab_flavored_markdown_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/gitlab_flavored_markdown_spec.rb b/spec/features/gitlab_flavored_markdown_spec.rb
index 0c1bc53cdb5..7852c39fee2 100644
--- a/spec/features/gitlab_flavored_markdown_spec.rb
+++ b/spec/features/gitlab_flavored_markdown_spec.rb
@@ -77,7 +77,7 @@ describe "GitLab Flavored Markdown", feature: true do
it "should render details in issues#show" do
visit namespace_project_issue_path(project.namespace, project, @issue)
- expect(page).to have_link("@#{fred.username}")
+ expect(page).to have_link(fred.to_reference)
end
end