Sha256: a797594986b1c5d571f9b803109f81879acbd90fdf18d714288bfdbce0d59cfb

Contents?: true

Size: 541 Bytes

Versions: 51

Compression:

Stored size: 541 Bytes

Contents

require 'rubygems'
require 'spec'

$: << File.expand_path(File.join(File.dirname(__FILE__),"..","lib"))
require 'amalgalite/type_map'

describe Amalgalite::TypeMap do
  it "#bind_type_of raises NotImplemented error" do
    tm = Amalgalite::TypeMap.new
    lambda { tm.bind_type_of( Object.new ) }.should raise_error( NotImplementedError )
  end

  it "#result_value_of raises NotImplemented error" do
    tm = Amalgalite::TypeMap.new
    lambda { tm.result_value_of( "foo", Object.new ) }.should raise_error( NotImplementedError )
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
amalgalite-0.2.1 spec/type_map_spec.rb
amalgalite-0.2.2 spec/type_map_spec.rb
amalgalite-0.2.4 spec/type_map_spec.rb
amalgalite-0.4.0 spec/type_map_spec.rb
amalgalite-0.4.1 spec/type_map_spec.rb
amalgalite-0.4.2 spec/type_map_spec.rb
amalgalite-0.4.2-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.5.0-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.5.0 spec/type_map_spec.rb
amalgalite-0.5.1-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.5.1 spec/type_map_spec.rb
amalgalite-0.6.0 spec/type_map_spec.rb
amalgalite-0.6.0-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.7.0 spec/type_map_spec.rb
amalgalite-0.7.0-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.7.1-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.7.3-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.7.1 spec/type_map_spec.rb
amalgalite-0.7.3 spec/type_map_spec.rb
amalgalite-0.7.5-x86-mswin32-60 spec/type_map_spec.rb