Sha256: 9492f22f4f632492bac139d79205d47b892dd9d5db22263f30eae5111d1a4436

Contents?: true

Size: 291 Bytes

Versions: 11

Compression:

Stored size: 291 Bytes

Contents

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

      def create_spec_helper
        copy_file 'spec_helper.js.coffee', 'spec/javascripts/spec_helper.js.coffee'
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
oojs-0.3.0 lib/generators/oojs/spec_helper/spec_helper_generator.rb
oojs-0.2.3 lib/generators/oojs/spec_helper/spec_helper_generator.rb
oojs-0.2.2 lib/generators/oojs/spec_helper/spec_helper_generator.rb
oojs-0.2.1 lib/generators/oojs/spec_helper/spec_helper_generator.rb
oojs-0.2.0 lib/generators/oojs/spec_helper/spec_helper_generator.rb
oojs-0.1.1 lib/generators/oojs/spec_helper/spec_helper_generator.rb
oojs-0.1.0 lib/generators/oojs/spec_helper/spec_helper_generator.rb
oojs-0.0.4 lib/generators/oojs/spec_helper/spec_helper_generator.rb
oojs-0.0.3 lib/generators/oojs/spec_helper/spec_helper_generator.rb
oojs-0.0.2 lib/generators/oojs/spec_helper/spec_helper_generator.rb
oojs-0.0.1 lib/generators/oojs/spec_helper/spec_helper_generator.rb