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