Commit cf237f1d32c15e1e9fa128fc9e089a7857495f51

Authored by Robert Speicher
1 parent 9f0e8059

Fix GFM request spec

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}")