Sha256: 99ee2d8cc6bcf383be2340c07fb4730c86071277ca83c62f961cf3bc96a219fc
Contents?: true
Size: 293 Bytes
Versions: 2
Compression:
Stored size: 293 Bytes
Contents
require 'spec_helper' describe Post do describe "#==" do before { Post.create } subject { Post.first } it "is true for other instances' decorators" do other = Post.first subject.should_not be other (subject == other.decorate).should be_true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
draper-1.0.0 | spec/dummy/spec/models/post_spec.rb |
draper-1.0.0.beta6 | spec/dummy/spec/models/post_spec.rb |