diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-05-25 13:57:22 +0200 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-05-25 13:57:22 +0200 |
commit | 7ec89692858a207691489aed566af7785a923895 (patch) | |
tree | dfad4c6ea77f322b68db974102c5ec54fe0366f6 /spec/models/namespace_spec.rb | |
parent | 2f62af684e127010cffd81e027f469dcde3bc9b2 (diff) | |
parent | 78de1c059ac588df4ba1ef352b28e5b1c6102804 (diff) | |
download | gitlab-ce-7ec89692858a207691489aed566af7785a923895.tar.gz |
Merge branch 'master' into zj-realtime-env-list
Diffstat (limited to 'spec/models/namespace_spec.rb')
-rw-r--r-- | spec/models/namespace_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/namespace_spec.rb b/spec/models/namespace_spec.rb index 8624616316c..312302afdbb 100644 --- a/spec/models/namespace_spec.rb +++ b/spec/models/namespace_spec.rb @@ -37,7 +37,7 @@ describe Namespace, models: true do it 'rejects nested paths' do parent = create(:group, :nested, path: 'environments') - namespace = build(:project, path: 'folders', namespace: parent) + namespace = build(:group, path: 'folders', parent: parent) expect(namespace).not_to be_valid end |