Sha256: 048cc4039da60571b1744e8b09cadb16785374e0a80253f3fc5fd50484cf0cfe

Contents?: true

Size: 538 Bytes

Versions: 2

Compression:

Stored size: 538 Bytes

Contents

# Having ./support in the load path means Rails will load the generators at
# ./support/generators/**/*_generator.rb and
# ./support/rails/generators/**/*_generator.rb
$LOAD_PATH.push File.join(File.dirname(__FILE__), "support")
require File.join(File.dirname(__FILE__),"../../../config/environment")
require File.join(File.dirname(__FILE__),"../lib/gen_spec")

if Rails::VERSION::MAJOR < 3
  Rails::Generator::Base.append_sources Rails::Generator::PathSource.new(:test,
          File.expand_path("../support/generators", __FILE__))
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
genspec-0.2.0.prerails3.2 spec/spec_helper.rb
genspec-0.2.0.prerails3.1 spec/spec_helper.rb