summaryrefslogtreecommitdiff
path: root/spec/models/group_spec.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2018-01-31 10:52:09 -0600
committerDouwe Maan <douwe@selenight.nl>2018-02-06 12:06:38 -0600
commit75144b1e03db342730535f1f49b0e7cd2987d755 (patch)
tree30295c514e238b48a646d77c6b453e2ec44319f4 /spec/models/group_spec.rb
parent8d69436c901a3eee674e72c67d91de3994d30e0c (diff)
downloadgitlab-ce-75144b1e03db342730535f1f49b0e7cd2987d755.tar.gz
Validate path uniqueness only on Route, and bubble up appropriately
Diffstat (limited to 'spec/models/group_spec.rb')
-rw-r--r--spec/models/group_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb
index 5ea4acb6687..338fb314ee9 100644
--- a/spec/models/group_spec.rb
+++ b/spec/models/group_spec.rb
@@ -41,7 +41,6 @@ describe Group do
describe 'validations' do
it { is_expected.to validate_presence_of :name }
- it { is_expected.to validate_uniqueness_of(:name).scoped_to(:parent_id) }
it { is_expected.to validate_presence_of :path }
it { is_expected.not_to validate_presence_of :owner }
it { is_expected.to validate_presence_of :two_factor_grace_period }