Sha256: 83931d50466b7d153bbcc3a7c52d44b52ea37748cb6ff5fc2e8f8edd7105635e

Contents?: true

Size: 479 Bytes

Versions: 3

Compression:

Stored size: 479 Bytes

Contents

require 'active_support/dependencies'
require 'basic_presenter'

# 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

3 entries across 3 versions & 1 rubygems

Version Path
welaika-suspenders-1.2.5 templates/unit_spec_helper.rb
welaika-suspenders-1.2.4 templates/unit_spec_helper.rb
welaika-suspenders-1.2.3 templates/unit_spec_helper.rb