Sha256: f229295ef45e3d2407e783f5f349a9f4a0c938758f552451ed52b65b9bc76623
Contents?: true
Size: 523 Bytes
Versions: 6
Compression:
Stored size: 523 Bytes
Contents
require 'spec_helper' require 'dummy/config/environment' require 'ammeter/init' require 'generators/draper/install_generator' describe Draper::Generators::InstallGenerator do destination File.expand_path('../tmp', __FILE__) before { prepare_destination } after(:all) { FileUtils.rm_rf destination_root } describe 'the application decorator' do subject { file('app/decorators/application_decorator.rb') } before { run_generator } it { is_expected.to contain 'class ApplicationDecorator' } end end
Version data entries
6 entries across 6 versions & 1 rubygems