progress on #27: test coverage over 96%
This commit is contained in:
1 parent
c7111ad7ad
commit
14bbd301ed
8 files changed
+125
-11
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user