Sha256: 6b39ac4780daf272abf18fd94f479e6cb322debe414ad16e9f67513ed5b88b20
Contents?: true
Size: 419 Bytes
Versions: 14
Compression:
Stored size: 419 Bytes
Contents
require 'spec_helper' describe Object do context "bullet_ar_key" do it "should return class and id composition" do post = Post.first post.bullet_ar_key.should == "Post:#{post.id}" end if mongoid? it "should return class with namesapce and id composition" do post = Mongoid::Post.first post.bullet_ar_key.should == "Mongoid::Post:#{post.id}" end end end end
Version data entries
14 entries across 14 versions & 1 rubygems