Class: Origen::CodeGenerators::RSpec

Inherits:
Base
  • Object
show all
Defined in:
lib/origen/code_generators/rspec.rb

Instance Method Summary collapse

Methods inherited from Base

banner, inherited, name, namespace

Methods included from Actions

#add_config, #add_source, #comment_config, #config, #environment, #gem, #gem_group, #generate, #git, #initialize, #lib, #rake, #rakefile, #readme

Instance Method Details

#create_spec_helper_fileObject


7
8
9
# File 'lib/origen/code_generators/rspec.rb', line 7

def create_spec_helper_file
  template 'templates/code_generators/spec_helper.rb', File.join(Origen.root, 'spec', 'spec_helper.rb')
end