Sha256: 77ce146cfc7471a5332cb4d3664901e532011b5b03a28b103e0e6032c0993f52

Contents?: true

Size: 769 Bytes

Versions: 7

Compression:

Stored size: 769 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

ENV["RAILS_ENV"] = "test"

require File.expand_path("config/environment", ENV['RAILS_ROOT'] || File.expand_path("../internal", __FILE__))
require 'bundler/setup'
require 'rspec/rails'
require 'rspec/autorun'
require 'hydra-file-access'

if ENV['COVERAGE'] and RUBY_VERSION =~ /^1.9/
  require 'simplecov'
  require 'simplecov-rcov'

  SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
  SimpleCov.start
end

RSpec.configure do |config|
  config.include Devise::TestHelpers, :type => :controller

  #removes FactoryGirl created users
  config.use_transactional_fixtures = true 

  config.fixture_path = File.expand_path('../fixtures', __FILE__)
end


Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hydra-file-access-5.4.1 spec/spec_helper.rb
hydra-file-access-5.4.0.pre1 spec/spec_helper.rb
hydra-file-access-5.3.0 spec/spec_helper.rb
hydra-file-access-5.1.0 spec/spec_helper.rb
hydra-file-access-5.0.1 spec/spec_helper.rb
hydra-file-access-5.0.0 spec/spec_helper.rb
hydra-file-access-5.0.0.rc1 spec/spec_helper.rb