Sha256: 50374813b4a78e6692ccf15a748eb5c53b8bbe9b881c94a4e95f6fb553cce350

Contents?: true

Size: 521 Bytes

Versions: 9

Compression:

Stored size: 521 Bytes

Contents

require File.expand_path( File.join( File.dirname( __FILE__ ), "spec_helper.rb" ) )
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

9 entries across 9 versions & 1 rubygems

Version Path
amalgalite-1.1.2-x86-mingw32 spec/type_map_spec.rb
amalgalite-1.1.2-x86-mswin32 spec/type_map_spec.rb
amalgalite-1.1.2 spec/type_map_spec.rb
amalgalite-1.1.1-x86-mingw32 spec/type_map_spec.rb
amalgalite-1.1.1-x86-mswin32 spec/type_map_spec.rb
amalgalite-1.1.1 spec/type_map_spec.rb
amalgalite-1.0.0 spec/type_map_spec.rb
amalgalite-1.0.0-x86-mswin32 spec/type_map_spec.rb
amalgalite-1.0.0-x86-mingw32 spec/type_map_spec.rb