提交 36862511 编写于 作者: A Aditya Sanghi 提交者: Santiago Pastorino

test that skip active records does not load fixtures

[#4104 state:committed]
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
上级 e7f911d5
......@@ -168,6 +168,9 @@ def test_config_another_database
def test_config_database_is_not_added_if_skip_active_record_is_given
run_generator [destination_root, "--skip-active-record"]
assert_no_file "config/database.yml"
assert_file "test/test_helper.rb" do |helper_content|
assert_no_match /fixtures :all/, helper_content
end
assert_file "test/performance/browsing_test.rb"
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册