Sha256: d03bebb1164a665a35b07f48d9ce881edede8de94d8386cd5271925f99d9b3fb

Contents?: true

Size: 287 Bytes

Versions: 8

Compression:

Stored size: 287 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.3.2 lib/generators/rspec_generator.rb
ruby_raider-0.3.1 lib/generators/rspec_generator.rb
ruby_raider-0.3.0 lib/generators/rspec_generator.rb
ruby_raider-0.2.9 lib/generators/rspec_generator.rb
ruby_raider-0.2.8 lib/generators/rspec_generator.rb
ruby_raider-0.2.7 lib/generators/rspec_generator.rb
ruby_raider-0.2.6 lib/generators/rspec_generator.rb
ruby_raider-0.2.5 lib/generators/rspec_generator.rb