Sha256: 1154270dc9396e2a52ea1cf8bd3be49172bfce3be368a6c67bc69741319029f9
Contents?: true
Size: 550 Bytes
Versions: 5
Compression:
Stored size: 550 Bytes
Contents
require 'blazing-rails/recipes/precompile_assets' describe Blazing::Recipe::PrecompileAssets do it 'is a blazing recipe' do Blazing::Recipe::PrecompileAssets.superclass.should be Blazing::Recipe end describe 'run' do before :each do @recipe = Blazing::Recipe::PrecompileAssets.new @recipe.stub(:info) end it 'calls the precompile assets rake task' do @recipe.should_receive(:system).with("bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile") @recipe.run end end end
Version data entries
5 entries across 5 versions & 1 rubygems