Sha256: 9da89735a5c9d983ec13e3356307beedf2be2cd9a8b97db5c783ac825985f930
Contents?: true
Size: 384 Bytes
Versions: 3
Compression:
Stored size: 384 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper.rb' describe MPFI, "when converting to string" do it "should return string created by inspect" do s = MPFI(['1.2', '1.3']).inspect s.should be_an_instance_of String end it "should return an array of strings" do a = MPFI(['1.2', '1.3']).to_str_ary a.should be_an_instance_of Array a.size.should == 2 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-mpfi-0.0.7 | spec/mpfi/string_spec.rb |
ruby-mpfi-0.0.6 | spec/mpfi/string_spec.rb |
ruby-mpfi-0.0.5 | spec/mpfi/string_spec.rb |