提交 2c5c0690 编写于 作者: A Arthur Neves

Dont check bundler output on plugin generator test

上级 7210a037
......@@ -192,13 +192,11 @@ def test_ensure_that_database_option_is_passed_to_app_generator
def test_generation_runs_bundle_install_with_full_and_mountable
result = run_generator [destination_root, "--mountable", "--full", "--dev"]
assert_match(/run bundle install/, result)
assert $?.success?, "Command failed: #{result}"
assert_file "#{destination_root}/Gemfile.lock" do |contents|
assert_match(/bukkits/, contents)
end
assert_match(/run bundle install/, result)
assert_match(/Using bukkits \(?0\.0\.1\)?/, result)
assert_match(/Bundle complete!/, result)
assert_equal 1, result.scan("Bundle complete!").size
end
def test_skipping_javascripts_without_mountable_option
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册