Sha256: 86e47c727d16c24c76a93de160058fbcbd34d768b5e34cde50ad7818744d01e3
Contents?: true
Size: 606 Bytes
Versions: 3
Compression:
Stored size: 606 Bytes
Contents
require 'spec_helper' require "generators/champollion/assets_generator" TMP_ROOT = File.expand_path("../../tmp", __FILE__) describe Champollion::Generators::AssetsGenerator, type: :generator do destination TMP_ROOT arguments %w(assets) before(:all) do prepare_destination run_generator end specify do expect(destination_root).to have_structure { directory 'app/assets/javascripts/champollion' do file 'application.js' end directory 'app/assets/stylesheets/champollion' do file 'application.css' file 'base.css' end } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
champollion-0.1.7 | spec/generators/assets_generator_spec.rb |
champollion-0.1.6 | spec/generators/assets_generator_spec.rb |
champollion-0.1.5 | spec/generators/assets_generator_spec.rb |