aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/plugin_generator_test.rb
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2015-02-10 16:22:53 -0500
committerArthur Neves <arthurnn@gmail.com>2015-02-10 16:22:53 -0500
commit2c5c0690cc5fc324a1b61126dc81ee10e4bf2b29 (patch)
tree028fb53b8d1c4546e4e493a2b26488014df2448f /railties/test/generators/plugin_generator_test.rb
parent7210a0371f3739b8b8b02b56a3310421f0c3556e (diff)
downloadrails-2c5c0690cc5fc324a1b61126dc81ee10e4bf2b29.tar.gz
rails-2c5c0690cc5fc324a1b61126dc81ee10e4bf2b29.tar.bz2
rails-2c5c0690cc5fc324a1b61126dc81ee10e4bf2b29.zip
Dont check bundler output on plugin generator test
Diffstat (limited to 'railties/test/generators/plugin_generator_test.rb')
-rw-r--r--railties/test/generators/plugin_generator_test.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/railties/test/generators/plugin_generator_test.rb b/railties/test/generators/plugin_generator_test.rb
index 39a113f952..a0f244da28 100644
--- a/railties/test/generators/plugin_generator_test.rb
+++ b/railties/test/generators/plugin_generator_test.rb
@@ -192,13 +192,11 @@ class PluginGeneratorTest < Rails::Generators::TestCase
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