Sha256: ef81a7620507457ea96d6a0a75aa9ef8bd0a65fdb451a0768b9d1e85043e1924
Contents?: true
Size: 496 Bytes
Versions: 9
Compression:
Stored size: 496 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper.rb' describe "redis strings" do it "should read and write" do @onion.description.should == "a tasty food" @onion.description = "a delicious vegetable" @onion.description.should == "a delicious vegetable" @onion.description = "" @onion.description.should == "" @onion.description = nil @onion.description.should == "a tasty food" lambda { @onion.description = 12 }.should raise_exception(TypeError) end end
Version data entries
9 entries across 9 versions & 1 rubygems