rails setup
This commit is contained in:
1 parent
ceb14fc74b
commit
8ff9ca02f8
15 files changed
+519
-66
No files matched your search
@@ -0,0 +1,17 @@
|
||||
require 'test_helper'
|
||||
|
||||
class AppConfigTest < 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
|
||||
config = AppConfig.new
|
||||
|
||||
assert_equal 'localhost', config.mysql_host
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user