Sha256: d29ae3d852ebb84815bbb64525eaaf871acb15feb327e75443679428e8af491f
Contents?: true
Size: 387 Bytes
Versions: 16
Compression:
Stored size: 387 Bytes
Contents
require 'spec_helper' module Punchblock class Client describe ComponentRegistry do let(:component_id) { 'abc123' } let(:component) { stub 'Component', :component_id => component_id } it 'should store components and allow lookup by ID' do subject << component subject.find_by_id(component_id).should be component end end end end
Version data entries
16 entries across 16 versions & 1 rubygems