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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-24 00:25:28 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-24 00:25:28 +0400
commit0e1635a68a2a3f9c74ca52f2b5c19d63428faf2c (patch)
tree6e68ec7f9df706319a832b9119c010ba6128ce8f /spec/controllers/commits_controller_spec.rb
parente92b563acf93a1d123ae9f3b599f7d4b1ba56f8e (diff)
Fixing requests after namespaces. Fixed admin bug with access to project
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 bf335634da9..da33fd8a2b5 100644
--- a/spec/controllers/commits_controller_spec.rb
+++ b/spec/controllers/commits_controller_spec.rb
@@ -13,7 +13,7 @@ describe CommitsController do
describe "GET show" do
context "as atom feed" do
it "should render as atom" do
- get :show, project_id: project.code, id: "master.atom"
+ get :show, project_id: project.path, id: "master.atom"
response.should be_success
response.content_type.should == 'application/atom+xml'
end