Sha256: 15bcf08b5180a14f66a15264ac1a7d8367f0c647b8e111184b388483af696aac

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 Bytes

Contents

module Qunit
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path('../../templates', __FILE__)

      desc 'Setup Qunit into test'

      def create_setup_files
        empty_directory 'test/javascripts'
        template 'test_helper.js',  'test/javascripts/test_helper.js'
        empty_directory 'test/stylesheets'
        template 'test_helper.css', 'test/stylesheets/test_helper.css'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qunit-rails-0.0.1 lib/generators/qunit/install_generator.rb