Sha256: 0952fa41f6e235da4fb5be5167f869b177ea16dd0e73275477f72e21b290b483

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

ENV["RAILS_ENV"] = "test"

dir = File.dirname(__FILE__)
$LOAD_PATH.unshift(File.expand_path("#{dir}/../../rspec/lib"))
$LOAD_PATH.unshift(File.expand_path("#{dir}/../../rspec-rails/lib"))
$LOAD_PATH.unshift(File.expand_path("#{dir}/../lib"))

require  "#{dir}/../../../../config/environment"
require 'spec/rails'
require 'spec/rr'

Spec::Runner.configure do |config|
  config.mock_with :rr
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec-rr-0.1.0 spec/spec_helper.rb