Sha256: cd3e7dbeae0d292d1d5468c3e069558a9bf9f6df75f5a2a70b213745c8cac53b

Contents?: true

Size: 552 Bytes

Versions: 8

Compression:

Stored size: 552 Bytes

Contents

require_relative '../base_generator'

module Howitzer
  # This class responsible for rspec based files generation
  class RspecGenerator < BaseGenerator
    def manifest
      { files:
        [
          { source: 'spec_helper.rb', destination: 'spec/spec_helper.rb' },
          { source: 'example_spec.rb', destination: 'spec/example_spec.rb' },
          { source: 'rspec.rake', destination: 'tasks/rspec.rake' }
        ] }
    end

    protected

    def banner
      <<-MSG
  * RSpec integration to the framework ...
      MSG
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
howitzer-2.6.1 generators/rspec/rspec_generator.rb
howitzer-2.6.0 generators/rspec/rspec_generator.rb
howitzer-2.5.0 generators/rspec/rspec_generator.rb
howitzer-2.4.0 generators/rspec/rspec_generator.rb
howitzer-2.3.0 generators/rspec/rspec_generator.rb
howitzer-2.2.0 generators/rspec/rspec_generator.rb
howitzer-2.1.1 generators/rspec/rspec_generator.rb
howitzer-2.1.0 generators/rspec/rspec_generator.rb