Sha256: 8b52f21c874f5837f765b714b26eea8cb5ab61d1d2bc4f7907ae9045659ce4a9

Contents?: true

Size: 500 Bytes

Versions: 4

Compression:

Stored size: 500 Bytes

Contents

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.unshift(directory) unless $LOAD_PATH.include?(directory)
  end
end

require 'rspeckled/spec_helpers/rspeckled'

Dir[File.join(Dir.pwd, 'spec', 'support', '**', '*.rb')].sort.each { |f| require f }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspeckled-0.0.7 lib/rspeckled/spec_helpers/rails_engine.rb
rspeckled-0.0.6 lib/rspeckled/spec_helpers/rails_engine.rb
rspeckled-0.0.5 lib/rspeckled/spec_helpers/rails_engine.rb
rspeckled-0.0.4 lib/rspeckled/spec_helpers/rails_engine.rb