Commit cf237f1d32c15e1e9fa128fc9e089a7857495f51
1 parent
9f0e8059
Exists in
master
and in
4 other branches
Fix GFM request spec
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
spec/requests/gitlab_flavored_markdown_spec.rb
@@ -43,7 +43,7 @@ describe "Gitlab Flavored Markdown" do | @@ -43,7 +43,7 @@ describe "Gitlab Flavored Markdown" do | ||
43 | 43 | ||
44 | describe "for commits" do | 44 | describe "for commits" do |
45 | it "should render title in commits#index" do | 45 | it "should render title in commits#index" do |
46 | - visit project_commits_path(project, ref: @branch_name) | 46 | + visit project_commits_path(project, @branch_name) |
47 | 47 | ||
48 | page.should have_link("##{issue.id}") | 48 | page.should have_link("##{issue.id}") |
49 | end | 49 | end |
@@ -69,7 +69,7 @@ describe "Gitlab Flavored Markdown" do | @@ -69,7 +69,7 @@ describe "Gitlab Flavored Markdown" do | ||
69 | end | 69 | end |
70 | 70 | ||
71 | it "should render title in refs#blame" do | 71 | it "should render title in refs#blame" do |
72 | - visit blame_file_project_ref_path(project, File.join(@branch_name, @test_file)) | 72 | + visit project_blame_path(project, File.join(@branch_name, @test_file)) |
73 | 73 | ||
74 | within(".blame_commit") do | 74 | within(".blame_commit") do |
75 | page.should have_link("##{issue.id}") | 75 | page.should have_link("##{issue.id}") |