提交 692bb7ce 编写于 作者: R Rafael Mendonça França

Add sass-rails back to the default Gemfile

It was removed by mistake at 877a411d
上级 f390bd42
......@@ -281,6 +281,8 @@ def assets_gemfile_entry
return [] if options[:skip_sprockets]
gems = []
gems << GemfileEntry.version('sass-rails', '~> 5.0',
'Use SCSS for stylesheets')
gems << GemfileEntry.version('uglifier',
'>= 1.3.0',
......
......@@ -361,6 +361,13 @@ def test_generator_if_skip_action_mailer_is_given
end
end
def test_generator_has_assets_gems
run_generator
assert_gem 'sass-rails'
assert_gem 'uglifier'
end
def test_generator_if_skip_sprockets_is_given
run_generator [destination_root, "--skip-sprockets"]
assert_no_file "config/initializers/assets.rb"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册