Skip to content

Commit

Permalink
Dont check bundler output on plugin generator test
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurnn committed Feb 10, 2015
1 parent 7210a03 commit 2c5c069
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions railties/test/generators/plugin_generator_test.rb
Expand Up @@ -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
Expand Down

2 comments on commit 2c5c069

@arthurnn
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @sgrif

@sgrif
Copy link
Contributor

@sgrif sgrif commented on 2c5c069 Feb 10, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me

Please sign in to comment.