Sha256: 361c9197cf73e2db4f8c655b81481352ada55252c9b97a877c95ce992144f21a

Contents?: true

Size: 281 Bytes

Versions: 4

Compression:

Stored size: 281 Bytes

Contents

require 'spec_helper'

describe Slosilo::Keystore do
  include_context "with example key"
  include_context "with mock adapter"
  
  describe '#put' do
    it "handles Slosilo::Keys too" do
      subject.put(:test, key)
      adapter['test'].should == rsa.to_der
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slosilo-0.2.4 spec/keystore_spec.rb
slosilo-0.2.3 spec/keystore_spec.rb
slosilo-0.2.2 spec/keystore_spec.rb
slosilo-0.1.2 spec/keystore_spec.rb