Sha256: 37a78906538f48c39a1f828fb75a65bd5f3c33bde6d42c8584bdf07685329c7d
Contents?: true
Size: 269 Bytes
Versions: 30
Compression:
Stored size: 269 Bytes
Contents
require 'spec_helper' describe RestModel::Serialization::String do it "converts value to string" do subject.class.serialize(:something).should == "something" end it "returns nil when value is nil" do subject.class.serialize(nil).should be_nil end end
Version data entries
30 entries across 30 versions & 1 rubygems