Sha256: a61d1b636c58eef03db0e3fdda7a30451da72658a3681a40f47ea856ec0e7178
Contents?: true
Size: 647 Bytes
Versions: 3
Compression:
Stored size: 647 Bytes
Contents
require "mongo_mapper" # require "mongoid" require "rspec" require "active_record" require "permalink" # Setup ActiveRecord ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:") # Setup MongoMapper MongoMapper.connection = Mongo::Connection.new("localhost") MongoMapper.database = "permalink" # Setup Mongoid # Mongoid.configure do |config| # name = "permalink" # host = "localhost" # config.master = Mongo::Connection.new.db(name) # config.persist_in_safe_mode = false # end load("support/schema.rb") require "support/page" require "support/shared" require "support/post" # require "support/article"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
permalink-1.1.2 | spec/spec_helper.rb |
permalink-1.1.1 | spec/spec_helper.rb |
permalink-1.1.0 | spec/spec_helper.rb |