summaryrefslogtreecommitdiff
path: root/spec/controllers/blob_controller_spec.rb
diff options
context:
space:
mode:
authorHiroyuki Sato <sathiroyuki@gmail.com>2013-09-05 20:46:34 +0900
committerHiroyuki Sato <sathiroyuki@gmail.com>2013-09-13 07:00:24 +0900
commitdf9cbbc924466d2343f399adde0cea7cf2553fdb (patch)
tree1b761d45ff7c4fa756d730ef578e7faaaf5faee7 /spec/controllers/blob_controller_spec.rb
parente1ca9de0dabb9d1da13073110072b3327280eb55 (diff)
downloadgitlab-ce-df9cbbc924466d2343f399adde0cea7cf2553fdb.tar.gz
Drop support of root namespace in routing
Diffstat (limited to 'spec/controllers/blob_controller_spec.rb')
-rw-r--r--spec/controllers/blob_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/blob_controller_spec.rb b/spec/controllers/blob_controller_spec.rb
index 05d16f35545..479d8fc1a1d 100644
--- a/spec/controllers/blob_controller_spec.rb
+++ b/spec/controllers/blob_controller_spec.rb
@@ -17,7 +17,7 @@ describe Projects::BlobController do
describe "GET show" do
render_views
- before { get :show, project_id: project.code, id: id }
+ before { get :show, project_id: project.to_param, id: id }
context "valid branch, valid file" do
let(:id) { 'master/README.md' }