Sha256: 3fe143c52d666a9b50622d8262baec768e09a51aae09308cea96646b48c957d7
Contents?: true
Size: 571 Bytes
Versions: 16
Compression:
Stored size: 571 Bytes
Contents
require 'spec_helper' describe Cany::Recipes::Rails do describe 'DSL' do let(:spec) do Cany::Specification.new do name 'test' end end let(:recipe) { spec.recipes[0] } it 'should compile assets by default' do spec.setup do use :rails end expect(recipe.compile_assets).to eq true end it 'should be able to disable assets compilation' do spec.setup do use :rails do compile_assets false end end expect(recipe.compile_assets).to eq false end end end
Version data entries
16 entries across 16 versions & 1 rubygems