diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-04-27 15:33:25 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-04-27 15:33:25 +0000 |
commit | 4d3bd41d1447773ff937c602e9219e03daacac31 (patch) | |
tree | 562dba97c7f5bf9c8b6e3290032a128d9909070e /spec/models | |
parent | c20acd13f1edbb6bbd568db4cedcb917dcfb3e17 (diff) | |
parent | 8c9e3168b6365e909396bf9877fdaf2e01883ce1 (diff) | |
download | gitlab-ce-4d3bd41d1447773ff937c602e9219e03daacac31.tar.gz |
Merge branch '2246-uuid-is-nil-for-new-installation' into 'master'
Lazily set UUID in ApplicationSetting for new installations
Closes gitlab-ee#2246
See merge request !10893
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/application_setting_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/application_setting_spec.rb b/spec/models/application_setting_spec.rb index 01ca1584ed2..c2c19c62048 100644 --- a/spec/models/application_setting_spec.rb +++ b/spec/models/application_setting_spec.rb @@ -4,6 +4,7 @@ describe ApplicationSetting, models: true do let(:setting) { ApplicationSetting.create_from_defaults } it { expect(setting).to be_valid } + it { expect(setting.uuid).to be_present } describe 'validations' do let(:http) { 'http://example.com' } |