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.15.0-x86-mingw32 spec/type_map_spec.rb
amalgalite-0.15.0-x86-mswin32 spec/type_map_spec.rb
amalgalite-0.15.0 spec/type_map_spec.rb
amalgalite-0.12.0-x86-mingw32 spec/type_map_spec.rb
amalgalite-0.12.0 spec/type_map_spec.rb
amalgalite-0.12.0-x86-mswin32 spec/type_map_spec.rb
amalgalite-0.11.0-x86-mswin32 spec/type_map_spec.rb
amalgalite-0.11.0-x86-mingw32 spec/type_map_spec.rb
amalgalite-0.10.2-x86-mswin32 spec/type_map_spec.rb
amalgalite-0.10.2-x86-mingw32 spec/type_map_spec.rb
amalgalite-0.10.1-x86-mswin32 spec/type_map_spec.rb
amalgalite-0.10.1-x86-mingw32 spec/type_map_spec.rb
amalgalite-0.10.0-x86-mswin32-60 spec/type_map_spec.rb
amalgalite-0.11.0 spec/type_map_spec.rb
amalgalite-0.10.2 spec/type_map_spec.rb
amalgalite-0.10.0 spec/type_map_spec.rb
amalgalite-0.10.1 spec/type_map_spec.rb
amalgalite-0.2.0 spec/type_map_spec.rb
amalgalite-0.1.0 spec/type_map_spec.rb
amalgalite-0.2.3 spec/type_map_spec.rb