Sha256: 0f7ca5877bcbad776b091f5bf0f8474d653fb7a3f83e70b14770a6e0962b9400

Contents?: true

Size: 441 Bytes

Versions: 2

Compression:

Stored size: 441 Bytes

Contents

# frozen_string_literal: true

ENV['RAILS_ENV'] ||= 'test'

require File.expand_path(File.join('..', 'active_record_connection_setup'), __FILE__)
require File.join(Dir.pwd, 'spec', 'dummy', 'config', 'environment')

require 'rspec/rails'

Pathname.glob("#{Dir.pwd}/app/*").each do |directory|
  if directory.directory? && $LOAD_PATH.exclude?(directory)
    $LOAD_PATH.unshift(directory)
  end
end

require 'rspeckled/spec_helpers/rspeckled'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspeckled-2.1.1 lib/rspeckled/spec_helpers/rails_engine.rb
rspeckled-2.1.0 lib/rspeckled/spec_helpers/rails_engine.rb