clean code

did committed Mar 07, 2017
commit 64068ed534856ffc71143bd9e98ff647600cd5fe
Showing 2 changed files with 1 additions and 15 deletions
locomotive/steam/configuration.rb b/lib/locomotive/steam/configuration.rb +1 -1
@@ @@ -65,7 +65,7 @@ module Locomotive
attr_accessor :asset_path
# If java is installed and if this option is enabled,
- # then YUI::JavaScriptCompressor and YUI::CssCompressor are used to minify the css and the javascript.
+ # then Uglifier and Sass are used to minify the javascript and the css.
#
# default: false
#
spec/unit/initializers/sprockets_spec.rb +0 -14
@@ @@ -8,20 +8,6 @@ describe Locomotive::Steam::SprocketsEnvironment do
let(:options) { { minify: true } }
let(:env) { described_class.new(root, options) }
- # describe '#install_yui_compressor' do
-
- # context 'java not installed' do
-
- # before { allow(env).to receive(:is_java_installed?).and_return(false) }
-
- # subject { env.send(:install_yui_compressor, options) }
-
- # it { is_expected.to eq(false) }
-
- # end
-
- # end
-
describe '#install_autoprefixer' do
let(:options) { { minify: false } }