Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-26 21:21:55 +0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-27 00:32:26 +0400
commitcf237f1d32c15e1e9fa128fc9e089a7857495f51 (patch)
tree4be791b908a8776dca01b22b2fb4206758853636 /spec/requests/gitlab_flavored_markdown_spec.rb
parent9f0e80591ab1f3c4967575574fed37754ef2403b (diff)
Fix GFM request spec
Diffstat (limited to 'spec/requests/gitlab_flavored_markdown_spec.rb')
-rw-r--r--spec/requests/gitlab_flavored_markdown_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/gitlab_flavored_markdown_spec.rb b/spec/requests/gitlab_flavored_markdown_spec.rb
index 2e5d4209315..bb00d9457f9 100644
--- a/spec/requests/gitlab_flavored_markdown_spec.rb
+++ b/spec/requests/gitlab_flavored_markdown_spec.rb
@@ -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}")