Sha256: 0b46829ac3cd29afd926854b449dffc3c6244b35e0f7355c7e4fb413b473c49b
Contents?: true
Size: 347 Bytes
Versions: 11
Compression:
Stored size: 347 Bytes
Contents
require File.join(File.dirname(__FILE__), "/../../../../spec_helper.rb") describe Mongoid::Extensions::String::Conversions do describe "#set" do it "returns the object to_s" do String.set(1).should == "1" end end describe "#get" do it "returns the string" do String.get("test").should == "test" end end end
Version data entries
11 entries across 11 versions & 1 rubygems