summaryrefslogtreecommitdiff
path: root/spec/models/application_setting_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-08 13:21:00 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-08 13:21:00 -0800
commit939c046a9872c1d7c38d73dc08860681ecebd1f1 (patch)
tree084daaaf574146379744ca61550752bceffa6578 /spec/models/application_setting_spec.rb
parentd0a50985ec613584821806062df4eaa39337449c (diff)
downloadgitlab-ce-939c046a9872c1d7c38d73dc08860681ecebd1f1.tar.gz
Fix feature and tests
Diffstat (limited to 'spec/models/application_setting_spec.rb')
-rw-r--r--spec/models/application_setting_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/models/application_setting_spec.rb b/spec/models/application_setting_spec.rb
index 3a8d52c11c4..039775dddda 100644
--- a/spec/models/application_setting_spec.rb
+++ b/spec/models/application_setting_spec.rb
@@ -1,7 +1,5 @@
require 'spec_helper'
describe ApplicationSetting, models: true do
- describe 'should exists on start' do
- it { ApplicationSetting.count.should_not be_zero }
- end
+ it { ApplicationSetting.create_from_defaults.should be_valid }
end