Sha256: d57bd8e542baf65d0c428dc83ab7f6a1d6bbf44d5c40f0304d64926085fd5692

Contents?: true

Size: 703 Bytes

Versions: 35

Compression:

Stored size: 703 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-core'

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
  config.use_transactional_fixtures = true
  config.before(:suite) { User.destroy_all }
end


Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
hydra-core-7.1.0.rc2 spec/spec_helper.rb
hydra-core-7.1.0.rc1 spec/spec_helper.rb
hydra-core-6.5.2 spec/spec_helper.rb
hydra-core-6.5.1 spec/spec_helper.rb
hydra-core-7.0.2 spec/spec_helper.rb
hydra-core-6.4.2 spec/spec_helper.rb
hydra-core-7.0.1 spec/spec_helper.rb
hydra-core-7.0.0 spec/spec_helper.rb
hydra-core-7.0.0.rc1 spec/spec_helper.rb
hydra-core-7.0.0.pre3 spec/spec_helper.rb
hydra-core-6.5.0 spec/spec_helper.rb
hydra-core-6.5.0.rc2 spec/spec_helper.rb
hydra-core-7.0.0.pre2 spec/spec_helper.rb
hydra-core-7.0.0.pre1 spec/spec_helper.rb
hydra-core-6.4.1 spec/spec_helper.rb
hydra-core-6.4.0 spec/spec_helper.rb
hydra-core-6.4.0.rc5 spec/spec_helper.rb
hydra-core-6.4.0.rc4 spec/spec_helper.rb
hydra-core-6.4.0.rc3 spec/spec_helper.rb
hydra-core-6.4.0.rc2 spec/spec_helper.rb