Sha256: ed2b3ee95460c5e90ca0396c443acbc25e81ef7da9efc65ef46687e2490bb01d

Contents?: true

Size: 632 Bytes

Versions: 1

Compression:

Stored size: 632 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))

require "rubygems"
require "active_support/core_ext"
require "spec"
require "mongoid"
require "uuid"
require "vidibus-uuid"

Mongoid.configure do |config|
  name = "vidibus-uuid_test"
  host = "localhost"
  config.master = Mongo::Connection.new.db(name)
end

Spec::Runner.configure do |config|  
  config.mock_with :rspec
  config.before(:each) do  
    Mongoid.master.collections.select { |c| c.name != 'system.indexes' }.each(&:drop)  
  end
end

I18n.load_path += Dir[File.join('config', 'locale', '**', '*.{rb,yml}')]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vidibus-uuid-0.3.5 spec/spec_helper.rb