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.7.4 spec/type_map_spec.rb
amalgalite-0.7.4-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.7.5 spec/type_map_spec.rb
amalgalite-0.7.7 spec/type_map_spec.rb
amalgalite-0.7.7-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.7.6-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.7.6 spec/type_map_spec.rb
amalgalite-0.9.0-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.8.0-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.8.0 spec/type_map_spec.rb
amalgalite-0.9.0 spec/type_map_spec.rb