Skip to content
Browse files

Merge pull request #13097 from arunagw/jruby-test-fixes

Skipping debugger inclusion test if JRuby
  • Loading branch information...
2 parents 450b6c7 + 69bc214 commit 60e862a174b9d63dc2dc4955516f09a33f49d028 @senny senny committed Nov 29, 2013
Showing with 7 additions and 1 deletion.
  1. +7 −1 railties/test/generators/app_generator_test.rb
View
8 railties/test/generators/app_generator_test.rb
@@ -364,7 +364,13 @@ def test_inclusion_of_jbuilder
def test_inclusion_of_debugger
run_generator
- assert_file "Gemfile", /# gem 'debugger'/
+ if defined?(JRUBY_VERSION)
+ assert_file "Gemfile" do |content|
+ assert_no_match(/debugger/, content)
+ end
+ else
+ assert_file "Gemfile", /# gem 'debugger'/
+ end
end
def test_inclusion_of_lazy_loaded_sdoc

0 comments on commit 60e862a

Please sign in to comment.
Something went wrong with that request. Please try again.