spec/punchblock/client/component_registry_spec.rb in punchblock-1.9.4 vs spec/punchblock/client/component_registry_spec.rb in punchblock-2.0.0.beta1

- old
+ new

@@ -4,10 +4,10 @@ module Punchblock class Client describe ComponentRegistry do let(:component_id) { 'abc123' } - let(:component) { stub 'Component', :component_id => component_id } + let(:component) { double '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