WIP - spec failure on .atom project URL
This commit is contained in:
parent
faa9ca0900
commit
4d2da5fd25
1 changed files with 11 additions and 0 deletions
|
@ -86,6 +86,17 @@ describe ProjectsController do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
context "when the url contains .atom" do
|
||||
let(:public_project_with_dot) { create(:project, :public, name: 'my.atom', path: 'my.atom') }
|
||||
|
||||
it 'loads a project' do
|
||||
get :show, namespace_id: public_project_with_dot.namespace.path, id: public_project_with_dot.path
|
||||
|
||||
expect(assigns(:project)).to eq(public_project_with_dot)
|
||||
expect(response.status).to eq(200)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe "#destroy" do
|
||||
|
|
Loading…
Reference in a new issue