Sha256: 64906586984fb5b7a06336bb247fd90e2289774e42fb5d49c67556310df5d82a
Contents?: true
Size: 546 Bytes
Versions: 37
Compression:
Stored size: 546 Bytes
Contents
require 'spec_helper' require 'amalgalite/type_maps/text_map' describe Amalgalite::TypeMaps::TextMap do before(:each) do @map = Amalgalite::TypeMaps::TextMap.new end describe "#bind_type_of" do it "returnes text for everything" do @map.bind_type_of( 3.14 ).should == ::Amalgalite::SQLite3::Constants::DataType::TEXT end end describe "#result_value_of" do it "returns the string value of the object for everything passed in" do @map.result_value_of( "doesn't matter", 42 ).should == "42" end end end
Version data entries
37 entries across 37 versions & 2 rubygems