Sha256: 1b6f53de515cee25a2f5f4735133d04510f67b407213ee6772673da217bc3f34

Contents?: true

Size: 702 Bytes

Versions: 14

Compression:

Stored size: 702 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 
end


Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hydra-file-access-5.0.0.pre15 spec/spec_helper.rb
hydra-file-access-5.0.0.pre14 spec/spec_helper.rb
hydra-file-access-5.0.0.pre13 spec/spec_helper.rb
hydra-file-access-5.0.0.pre12 spec/spec_helper.rb
hydra-file-access-5.0.0.pre11 spec/spec_helper.rb
hydra-file-access-5.0.0.pre10 spec/spec_helper.rb
hydra-file-access-5.0.0.pre9 spec/spec_helper.rb
hydra-file-access-5.0.0.pre8 spec/spec_helper.rb
hydra-file-access-5.0.0.pre7 spec/spec_helper.rb
hydra-file-access-5.0.0.pre6 spec/spec_helper.rb
hydra-file-access-5.0.0.pre4 spec/spec_helper.rb
hydra-file-access-5.0.0.pre3 spec/spec_helper.rb
hydra-file-access-5.0.0.pre2 spec/spec_helper.rb
hydra-file-access-5.0.0.pre1 spec/spec_helper.rb