Fixing paths
Adding more Caf to the YAML Test for the YAML to make sure it is valid YAML
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user