提交 49cd6a0f 编写于 作者: G Guillermo Iguaran

Added therubyrhino to default Gemfile under JRuby

上级 df300a75
......@@ -199,6 +199,7 @@ def assets_gemfile_entry
group :assets do
gem 'sass-rails', :git => 'git://github.com/rails/sass-rails.git'
gem 'coffee-rails', :git => 'git://github.com/rails/coffee-rails.git'
#{"gem 'therubyrhino'\n" if defined?(JRUBY_VERSION)}
gem 'uglifier', '>= 1.0.3'
end
GEMFILE
......
......@@ -208,6 +208,13 @@ def test_generator_if_skip_sprockets_is_given
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'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册