Fixing requests after namespaces. Fixed admin bug with access to project
This commit is contained in:
parent
e92b563acf
commit
0e1635a68a
14 changed files with 35 additions and 62 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue