test/unit/test_keys.rb in mongo_mapper-0.8.6 vs test/unit/test_keys.rb in mongo_mapper-0.9.0
- old
+ new
@@ -1,10 +1,8 @@
require 'test_helper'
require 'models'
class KeyTest < Test::Unit::TestCase
- include MongoMapper::Plugins::Keys
-
context ".new with no id and _id of type integer" do
should "not error" do
lambda {
klass = Doc() do
key :_id, Integer