Sha256: 25ed4672a7570276d00079eef65405870a9ed5c3e3c78961c257afe38aab2b64
Contents?: true
Size: 358 Bytes
Versions: 23
Compression:
Stored size: 358 Bytes
Contents
require "spec_helper" describe Mongoid do describe ".method_missing" do before do @config = mock Mongoid::Config.expects(:instance).returns(@config) end it "delegates all calls to the config singleton" do @config.expects(:raise_not_found_error=).with(false) Mongoid.raise_not_found_error = false end end end
Version data entries
23 entries across 23 versions & 1 rubygems