spec/spec_helper.rb in simple_auth-1.4.0 vs spec/spec_helper.rb in simple_auth-1.4.1

- old
+ new

@@ -1,6 +1,12 @@ ENV["RAILS_ENV"] = "test" +require "bundler" +Bundler.setup(:default, :development, :test) +Bundler.require + +I18n.load_path += Dir[File.expand_path("../../locales/*.yml", __FILE__)] + require "rails" require "simple_auth" require File.dirname(__FILE__) + "/support/config/boot" require "rspec/rails" require "mongo_mapper" @@ -9,11 +15,9 @@ load File.dirname(__FILE__) + "/schema.rb" # Set up MongoDB connection MongoMapper.connection = Mongo::Connection.new("localhost") MongoMapper.database = "simple_auth" - -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"