Sha256: c08cf7f63a1693e6504d2a04d7975feb15e419871cb27aa30289275404e6540e
Contents?: true
Size: 544 Bytes
Versions: 15
Compression:
Stored size: 544 Bytes
Contents
require 'spec_helper' require_relative '../../../lib/locomotive/steam/initializers/sprockets' describe Locomotive::Steam::SprocketsEnvironment do let(:root) { '.' } 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 end
Version data entries
15 entries across 15 versions & 1 rubygems