Class: TestData::VerifiesConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/test_data/verifies_configuration.rb

Instance Method Summary collapse

Instance Method Details

#callObject



3
4
5
6
7
8
9
10
11
12
# File 'lib/test_data/verifies_configuration.rb', line 3

def call
  problems = Configurators.all.flat_map { |configurator|
    configurator.verify.problems
  }.compact

  ConfigurationVerification.new(
    looks_good?: problems.none?,
    problems: problems
  )
end