Sha256: 303f7b5e4c732aa5756705034648a0c884a835f568c08ed40fb87032cb2c71a2

Contents?: true

Size: 420 Bytes

Versions: 21

Compression:

Stored size: 420 Bytes

Contents

require 'helper'

describe Toy::Identity::AbstractKeyFactory do
  it "should raise not implemented for #key_type" do
    lambda {
      Toy::Identity::AbstractKeyFactory.new.key_type
    }.should raise_error(NotImplementedError)
  end

  it "should raise not implemented error for #next_key" do
    lambda { Toy::Identity::AbstractKeyFactory.new.next_key("any object") }.should raise_error(NotImplementedError)
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
toystore-0.13.2 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.13.1 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.13.0 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.12.0 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.11.0 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.10.4 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.10.3 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.10.2 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.10.1 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.10.0 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.9.0 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.8.3 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.8.2 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.8.1 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.8.0 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.7.0 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.6.6 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.6.5 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.6.4 spec/toy/identity/abstract_key_factory_spec.rb
toystore-0.6.3 spec/toy/identity/abstract_key_factory_spec.rb