提交 b7bce739 编写于 作者: A Arun Agrawal

Test added for jdbc-adapter

上级 6404f8a1
......@@ -153,6 +153,12 @@ def test_config_jdbcpostgresql_database
assert_file "Gemfile", /^gem\s+["']activerecord-jdbcpostgresql-adapter["']$/
end
def test_config_jdbc_database
run_generator([destination_root, "-d", "jdbc"])
assert_file "config/database.yml", /jdbc/
assert_file "Gemfile", /^gem\s+["']activerecord-jdbc-adapter["']$/
end
def test_generator_if_skip_active_record_is_given
run_generator [destination_root, "--skip-active-record"]
assert_no_file "config/database.yml"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册