require 'rails/generators/base'

module Fabrication
  module Generators
    class CucumberStepsGenerator < Rails::Generators::Base
      def generate
        template 'fabrication_steps.rb', 'features/step_definitions/fabrication_steps.rb'
      end

      def self.source_root
        File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
      end
    end
  end
end
