diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-04-24 22:12:05 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-04-26 23:06:15 +0300 |
commit | d464d79032963e83e474856da6f7c1ef2ba2c42e (patch) | |
tree | 5ab029d27dfebe1301bd1f1973a6fd0478ab37ae /spec/models/application_setting_spec.rb | |
parent | e2be17b78e1d172ccfcee2de85a27d791284c720 (diff) |
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.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' } |