Sha256: a400a8745f979ec244c48f0638fb4f74661fa923fa6e792b0a67dc8c39b9380f
Contents?: true
Size: 450 Bytes
Versions: 6
Compression:
Stored size: 450 Bytes
Contents
require_relative "../spec_helper" describe Mongoid::Document do describe ".paranoid?" do context "when Mongoid::Paranoia is included" do subject { ParanoidPost } it "returns true" do expect(subject.paranoid?).to be_truthy end end context "when Mongoid::Paranoia not included" do subject { Author } it "returns true" do expect(subject.paranoid?).to be_falsey end end end end
Version data entries
6 entries across 6 versions & 1 rubygems