progress on #27: test coverage over 96%

This commit is contained in:
Mark Moser
2016-08-16 17:09:40 -05:00
parent c7111ad7ad
commit 14bbd301ed
8 changed files with 125 additions and 11 deletions

View File

@ -0,0 +1,17 @@
require 'test_helper'
class SkillConfigTest < ActiveSupport::TestCase
test "verify sample file exists" do
assert File.exist? "#{Rails.root}/config/application.yml.sample"
end
test "verify config file exists" do
assert File.exist? "#{Rails.root}/config/application.yml"
end
test 'config can load and return proper values' do
skonfig = SkillConfig.new
assert_equal 'localhost', skonfig.mysql_host
end
end