BigW Consortium Gitlab

Commit 4d2da5fd by James Lopez

WIP - spec failure on .atom project URL

parent faa9ca09
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment