Class: BoshVerifyManifest::Spec

Inherits:
MiniTest::Spec
  • Object
show all
Includes:
Assertions, Infections
Defined in:
lib/bosh-verify-manifest.rb

Instance Method Summary collapse

Methods included from Assertions

#assert_declares_all_resource_pools, #assert_fills_resource_pools, #assert_has_name, #assert_job_addresses_are_appropriate, #assert_range_includes_gateway, #assert_specifies_director_uuid, #assert_subnet_addresses_in_range, #assert_subnet_ranges_do_not_overlap, #assert_subnets_are_consistent, #refute_exceeds_resource_pools

Methods included from Assertions::Helpers

#addresses_in_range?, #network, #pool_names, #pool_sizes, #pool_usage, #undeclared_pools

Instance Method Details

#manifestObject



17
18
19
# File 'lib/bosh-verify-manifest.rb', line 17

def manifest
  YAML::load(File.read(manifest_path))
end

#manifest_pathObject



13
14
15
# File 'lib/bosh-verify-manifest.rb', line 13

def manifest_path
  "#{self.class.name.split('::').last}.yml"
end