Sha256: 20eb3329a12deda84b84e0bf986b8fa5df486543067241e4c48fe84ce076c006
Contents?: true
Size: 343 Bytes
Versions: 8
Compression:
Stored size: 343 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Mongoid::I18n do before do @class = Class.new do include Mongoid::I18n end I18n.stubs(:locale).returns(:en) end describe "criteria" do it "should return a LocalizedCriteria" do @class.criteria.should be_a(Mongoid::I18n::LocalizedCriteria) end end end
Version data entries
8 entries across 8 versions & 1 rubygems