Sha256: e212e593649d5c94b12d5e8c3221eb5024f496b7f814c6afa2cd004075bc000a
Contents?: true
Size: 593 Bytes
Versions: 16
Compression:
Stored size: 593 Bytes
Contents
require 'spec_helper' module Bullet module Registry describe Object do let(:post) { Post.first } let(:another_post) { Post.last } subject { Object.new.tap { |object| object.add(post.bullet_ar_key) } } context "#include?" do it "should include the object" do subject.should be_include(post.bullet_ar_key) end end context "#add" do it "should add an object" do subject.add(another_post.bullet_ar_key) subject.should be_include(another_post.bullet_ar_key) end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems