Sha256: e87c899a10ec600274df8183b41fa30db1e07988a1671a6b753d93cb9ba89647
Contents?: true
Size: 588 Bytes
Versions: 6
Compression:
Stored size: 588 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_key) } } context '#include?' do it 'should include the object' do expect(subject).to be_include(post.bullet_key) end end context '#add' do it 'should add an object' do subject.add(another_post.bullet_key) expect(subject).to be_include(another_post.bullet_key) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems