Sha256: 030f7fc71c43e053170842821cd064a55b0c918c0f4693d778fe2ac640849cbc

Contents?: true

Size: 472 Bytes

Versions: 5

Compression:

Stored size: 472 Bytes

Contents

require 'active_support/dependencies'
require 'showcase'

# add project root to load path
RAILS_ROOT = File.expand_path('../../', __FILE__)
$LOAD_PATH.unshift(RAILS_ROOT) unless $LOAD_PATH.include?(RAILS_ROOT)

require File.join(RAILS_ROOT, "spec/support/rspec_config.rb")

# push project directories to load
autoload_paths = ActiveSupport::Dependencies.autoload_paths
%w(app/presenters).each do |path|
  autoload_paths.push(path) unless autoload_paths.include?(path)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
welaika-suspenders-1.2.10 templates/unit_spec_helper.rb
welaika-suspenders-1.2.9 templates/unit_spec_helper.rb
welaika-suspenders-1.2.8 templates/unit_spec_helper.rb
welaika-suspenders-1.2.7 templates/unit_spec_helper.rb
welaika-suspenders-1.2.6 templates/unit_spec_helper.rb