terrimporter 0.6.0 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,20 +0,0 @@
1
- require "test_helper"
2
-
3
-
4
- class ConfigValidatorTest < Test::Unit::TestCase
5
- include ConfigHelper
6
-
7
- def setup
8
- schema = Kwalify::Yaml.load_file(schema_file_path)
9
- validator = ConfigValidator.new(schema)
10
- @parser = Kwalify::Yaml::Parser.new(validator)
11
-
12
- end
13
-
14
- should 'collect validation errors on wrongly used configuration file' do
15
- @parser.parse_file(invalid_test_config_file_path)
16
- errors = @parser.errors()
17
- assert !errors.empty?
18
- assert errors.size >= 3
19
- end
20
- end