Sha256: 8d0e83e728088432ce0d69e0d8a0ddb5a2323f056b586d277581ee1fc87d5426

Contents?: true

Size: 550 Bytes

Versions: 9

Compression:

Stored size: 550 Bytes

Contents

# encoding: utf-8
$TESTING=true

$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
$:.unshift File.expand_path(File.join(File.dirname(__FILE__)))
require 'warden'

require 'rubygems'
require 'rack'

Dir[File.join(File.dirname(__FILE__), "helpers", "**/*.rb")].each do |f|
  require f
end

RSpec.configure do |config|
  config.include(Warden::Spec::Helpers)
  config.include(Warden::Test::Helpers)

  def load_strategies
    Dir[File.join(File.dirname(__FILE__), "helpers", "strategies", "**/*.rb")].each do |f|
      load f
    end
  end
end

Version data entries

9 entries across 9 versions & 5 rubygems

Version Path
warden-1.2.5 spec/spec_helper.rb
warden-1.2.4 spec/spec_helper.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/spec/spec_helper.rb
loyal_warden-2.0.1 spec/spec_helper.rb
loyal_warden-0.0.5 spec/spec_helper.rb
warden-1.2.3 spec/spec_helper.rb
devise_sociable-0.1.0 vendor/bundle/gems/warden-1.2.1/spec/spec_helper.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/spec/spec_helper.rb
warden-1.2.1 spec/spec_helper.rb