Sha256: 2af528a47d2bfeb66c39610082e27493b8b2685bb31ecf06271e3868d845b17c

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

require_relative 'generator'

module RubyRaider
  class RspecGenerator < Generator

    def generate_spec
      template('rspec/spec.tt', "#{name}/spec/login_page_spec.rb")
    end

    def generate_base_spec
      template('rspec/base_spec.tt', "#{name}/spec/base_spec.rb")
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby_raider-0.2.4 lib/generators/rspec_generator.rb
ruby_raider-0.2.3 lib/generators/rspec_generator.rb
ruby_raider-0.2.2 lib/generators/rspec_generator.rb
ruby_raider-0.2.1 lib/generators/rspec_generator.rb
ruby_raider-0.2.0 lib/generators/rspec_generator.rb