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:
authorHiroyuki Sato <sathiroyuki@gmail.com>2013-09-05 15:46:34 +0400
committerHiroyuki Sato <sathiroyuki@gmail.com>2013-09-13 02:00:24 +0400
commitdf9cbbc924466d2343f399adde0cea7cf2553fdb (patch)
tree1b761d45ff7c4fa756d730ef578e7faaaf5faee7 /spec/controllers/commits_controller_spec.rb
parente1ca9de0dabb9d1da13073110072b3327280eb55 (diff)
Drop support of root namespace in routing
Diffstat (limited to 'spec/controllers/commits_controller_spec.rb')
-rw-r--r--spec/controllers/commits_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/commits_controller_spec.rb b/spec/controllers/commits_controller_spec.rb
index facae17a0ad..8263afc97a2 100644
--- a/spec/controllers/commits_controller_spec.rb
+++ b/spec/controllers/commits_controller_spec.rb
@@ -13,7 +13,7 @@ describe Projects::CommitsController do
describe "GET show" do
context "as atom feed" do
it "should render as atom" do
- get :show, project_id: project.path, id: "master", format: "atom"
+ get :show, project_id: project.to_param, id: "master", format: "atom"
response.should be_success
response.content_type.should == 'application/atom+xml'
end