Sha256: 081ee5ba1c01e8ae52bbdbe22d544842098ea7f2a20205a9cf1998b04f8d967a
Contents?: true
Size: 521 Bytes
Versions: 8
Compression:
Stored size: 521 Bytes
Contents
require File.expand_path("../spec_helper", File.dirname(__FILE__)) require 'rails_generator' require 'rails_generator/lookup' module Shenandoah::Spec module UseGenerators def self.included(klass) klass.class_eval do before do Rails::Generator::Base.sources.unshift( Rails::Generator::PathSource.new("local", File.dirname(__FILE__) + "/../../rails_generators")) end after do Rails::Generator::Base.sources.shift end end end end end
Version data entries
8 entries across 8 versions & 2 rubygems