Fixing paths

Adding more Caf to the YAML
Test for the YAML to make sure it is valid YAML
This commit is contained in:
2024-10-10 10:56:43 +01:00
parent 1b0956bb0c
commit 1474999cd4
4 changed files with 253 additions and 245 deletions

View File

@@ -1,4 +1,5 @@
require "test_helper"
require 'yaml'
class CafTest < ActiveSupport::TestCase
test "name_unique_per_company" do
@@ -11,4 +12,8 @@ class CafTest < ActiveSupport::TestCase
c = Caf.new
assert !c.save
end
test "yaml file is valid" do
ymal = YAML.load_file('config/caf_text.yml')
end
end