Fix GFM request spec

This commit is contained in:
Robert Speicher 2012-09-26 13:21:55 -04:00
parent 9f0e80591a
commit cf237f1d32

View file

@ -43,7 +43,7 @@ describe "Gitlab Flavored Markdown" do
describe "for commits" do
it "should render title in commits#index" do
visit project_commits_path(project, ref: @branch_name)
visit project_commits_path(project, @branch_name)
page.should have_link("##{issue.id}")
end
@ -69,7 +69,7 @@ describe "Gitlab Flavored Markdown" do
end
it "should render title in refs#blame" do
visit blame_file_project_ref_path(project, File.join(@branch_name, @test_file))
visit project_blame_path(project, File.join(@branch_name, @test_file))
within(".blame_commit") do
page.should have_link("##{issue.id}")