Sha256: 2916c9ea85f10fa7982b3131426db66c37af154ffc8c23349c7c2a6282a5f0e3
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
ENV["RAILS_ENV"] = "test" require "rails" require "simple_auth" require File.dirname(__FILE__) + "/support/config/boot" require "rspec/rails" # Load database schema load File.dirname(__FILE__) + "/schema.rb" I18n.load_path += Dir[File.dirname(__FILE__) + "/../locales/*.yml"] # Restore default configuration RSpec.configure do |config| config.before :each do load File.dirname(__FILE__) + "/../lib/simple_auth/config.rb" SimpleAuth::Config.model = :user end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simple_auth-1.1.0 | spec/spec_helper.rb |