lib/fulmar/domain/service/config_tests/project.rb in fulmar-2.1.2 vs lib/fulmar/domain/service/config_tests/project.rb in fulmar-2.2.0
- old
+ new
@@ -1,5 +1,8 @@
global_test 'project name is set' do |config|
- next {severity: :warning,
- message: 'Project name is not set (must be short, no spaces)'
- } if config.project.name.blank?
+ if config.project.name.blank?
+ next {
+ severity: :warning,
+ message: 'Project name is not set (must be short, no spaces)'
+ }
+ end
end