Sha256: eba666d1f86c5f062649ea72d32ff44b6940b30fc6df2b2d957f9c4cd9d9c4d5
Contents?: true
Size: 406 Bytes
Versions: 15
Compression:
Stored size: 406 Bytes
Contents
# encoding: utf-8 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
15 entries across 15 versions & 1 rubygems