diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-11-14 07:07:38 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-11-14 07:07:38 -0500 |
commit | 49cd6a0ff7a3f5b0e85707961c952bdc3b0a178f (patch) | |
tree | a1bcc4ac20f9d9de5a3785cfac825d3f6bffd9d7 /railties/test/generators | |
parent | df300a754bf64d0c350fdc8c69408c5bd04b80a3 (diff) | |
download | rails-49cd6a0ff7a3f5b0e85707961c952bdc3b0a178f.tar.gz rails-49cd6a0ff7a3f5b0e85707961c952bdc3b0a178f.tar.bz2 rails-49cd6a0ff7a3f5b0e85707961c952bdc3b0a178f.zip |
Added therubyrhino to default Gemfile under JRuby
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 955ed09361..a1bd2fbaa5 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -208,6 +208,13 @@ class AppGeneratorTest < Rails::Generators::TestCase assert_file "test/performance/browsing_test.rb" end + def test_inclusion_of_therubyrhino_under_jruby + if defined?(JRUBY_VERSION) + run_generator([destination_root]) + assert_file "Gemfile", /gem\s+["']therubyrhino["']$/ + end + end + def test_creation_of_a_test_directory run_generator assert_file 'test' |