spec/spec_helper.rb in simple_auth-1.0.2 vs spec/spec_helper.rb in simple_auth-1.1.0
- old
+ new
@@ -5,9 +5,11 @@
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