Sha256: ff425956c18dc44218d2ffb9d9525aa3738000e8609b0c4defe5e9e6fb903fcb
Contents?: true
Size: 354 Bytes
Versions: 3
Compression:
Stored size: 354 Bytes
Contents
require 'mida/datatype' describe Mida::DataType::Text do it '#extract should return an empty string if an empty string passed' do value = '' Mida::DataType::Text.extract(value).should == value end it '#extract should return the input value' do value = 'A Test Value' Mida::DataType::Text.extract(value).should == value end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mida-0.3.2 | spec/datatype/text_spec.rb |
mida-0.3.1 | spec/datatype/text_spec.rb |
mida-0.3.0 | spec/datatype/text_spec.rb |