lib/matchers/document/be_stored_in.rb in mongoid-minitest-0.0.3.1 vs lib/matchers/document/be_stored_in.rb in mongoid-minitest-0.1.0

- old
+ new

@@ -6,10 +6,10 @@ def initialize(collection_name) @collection_name = collection_name.to_s end def matches?(subject) - class_of(subject).collection_name == @collection_name + class_of(subject).collection_name.to_s == @collection_name end def description "be stored in #{@collection_name.inspect}" end