summaryrefslogtreecommitdiff
path: root/spec/models/application_setting_spec.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-24 16:12:05 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-26 17:06:15 -0300
commitd464d79032963e83e474856da6f7c1ef2ba2c42e (patch)
tree5ab029d27dfebe1301bd1f1973a6fd0478ab37ae /spec/models/application_setting_spec.rb
parente2be17b78e1d172ccfcee2de85a27d791284c720 (diff)
downloadgitlab-ce-d464d79032963e83e474856da6f7c1ef2ba2c42e.tar.gz
Lazily sets UUID in ApplicationSetting for new installations
Diffstat (limited to 'spec/models/application_setting_spec.rb')
-rw-r--r--spec/models/application_setting_spec.rb1
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' }