diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-05 20:15:32 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-05 20:15:32 +0100 |
commit | 170ca8435a6b881231476b372122cf7e5b028736 (patch) | |
tree | b3c762ef01268462b0b674b2d7f353e2a3a6cf48 /spec/controllers/projects_controller_spec.rb | |
parent | a7c441aa17ba64eb702b583ac9198cdace599d2e (diff) | |
parent | 3a98279243e7a49a334c7eb6f806cd2b2072fbed (diff) | |
download | gitlab-ce-170ca8435a6b881231476b372122cf7e5b028736.tar.gz |
Merge branch 'master' into ci-permissions
# Conflicts:
# db/schema.rb
Diffstat (limited to 'spec/controllers/projects_controller_spec.rb')
-rw-r--r-- | spec/controllers/projects_controller_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb index 665526fde93..6eee4dfe229 100644 --- a/spec/controllers/projects_controller_spec.rb +++ b/spec/controllers/projects_controller_spec.rb @@ -86,6 +86,14 @@ describe ProjectsController do end end end + + context "when the url contains .atom" do + let(:public_project_with_dot_atom) { build(:project, :public, name: 'my.atom', path: 'my.atom') } + + it 'expect an error creating the project' do + expect(public_project_with_dot_atom).not_to be_valid + end + end end describe "#destroy" do |