Sha256: f4ca6f83a371ff795a08e1d965d61d3d3330ef708769c24fc217ff7ece0a28eb

Contents?: true

Size: 285 Bytes

Versions: 8

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

require_relative 'generator'

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby_raider-0.4.0 lib/generators/rspec_generator.rb
ruby_raider-0.3.9 lib/generators/rspec_generator.rb
ruby_raider-0.3.8 lib/generators/rspec_generator.rb
ruby_raider-0.3.7 lib/generators/rspec_generator.rb
ruby_raider-0.3.6 lib/generators/rspec_generator.rb
ruby_raider-0.3.5 lib/generators/rspec_generator.rb
ruby_raider-0.3.4 lib/generators/rspec_generator.rb
ruby_raider-0.3.3 lib/generators/rspec_generator.rb