Sha256: fdec431b082b63b673e5203c0ca6ff31beda2aca823861cab10312f5e22b66d8
Contents?: true
Size: 408 Bytes
Versions: 2
Compression:
Stored size: 408 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" # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_auth-1.0.2 | spec/spec_helper.rb |
simple_auth-1.0.1 | spec/spec_helper.rb |