Sha256: aeb7041d1680f3fe69c72cef5f82b83bd4cf2289d3941b876b94b751c16da70c
Contents?: true
Size: 355 Bytes
Versions: 3
Compression:
Stored size: 355 Bytes
Contents
require_relative '../../spec_helper' describe RetrieveKey do let(:backend){ double() } let(:key){ 'key' } let(:value){ 'value' } let(:command){ RetrieveKey.new(backend, key) } describe 'result' do it 'should return the value associated to the key' do backend.stub(:get){ value } command.result.should == value end end end
Version data entries
3 entries across 3 versions & 1 rubygems