mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
Disable failing Decoratable#== spec on Mongoid 3.0
This commit is contained in:
parent
e3131da6cc
commit
9873c33585
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ shared_examples_for "a decoratable model" do
|
|||
|
||||
describe "#==" do
|
||||
it "is true for other instances' decorators" do
|
||||
pending "Mongoid < 3.1 overrides `#==`" if defined?(Mongoid) && Mongoid::VERSION.to_f < 3.1 && described_class < Mongoid::Document
|
||||
|
||||
described_class.create
|
||||
one = described_class.first
|
||||
other = described_class.first
|
||||
|
|
Loading…
Reference in a new issue