Sha256: 0640b9915f25fbf31f91e81cc9fb859826cd85dbf628625bebdbefc3ca5613c7
Contents?: true
Size: 534 Bytes
Versions: 4
Compression:
Stored size: 534 Bytes
Contents
require 'spec_helper' require 'libsql/type_maps/text_map' describe ::Libsql::TypeMaps::TextMap do before(:each) do @map = ::Libsql::TypeMaps::TextMap.new end describe "#bind_type_of" do it "returnes text for everything" do @map.bind_type_of( 3.14 ).should == ::Libsql::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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
libsql-0.1.0-x64-mingw-ucrt | spec/text_map_spec.rb |
libsql-0.1.0-x64-mingw32 | spec/text_map_spec.rb |
libsql-0.1.0-x86-mingw32 | spec/text_map_spec.rb |
libsql-0.1.0 | spec/text_map_spec.rb |