class Fabrication::Generators::CucumberStepsGenerator

Public Class Methods

source_root() click to toggle source
# File lib/rails/generators/fabrication/cucumber_steps/cucumber_steps_generator.rb, line 10
def self.source_root
  File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
end

Public Instance Methods

generate() click to toggle source
# File lib/rails/generators/fabrication/cucumber_steps/cucumber_steps_generator.rb, line 6
def generate
  template 'fabrication_steps.rb', 'features/step_definitions/fabrication_steps.rb'
end