Sha256: 332593d9b9bda104316a3d86856c5ebaef106ef29993fc4c80849f7c55a34661
Contents?: true
Size: 311 Bytes
Versions: 15
Compression:
Stored size: 311 Bytes
Contents
require File.join(File.dirname(File.expand_path(__FILE__)), "/../spec_helper.rb") describe String, "with shell escape" do it "should add quotes to string" do "foo".shell_escape.should == '"foo"' end it "should escape quotes within string" do '"foo"'.shell_escape.should == '"\"foo\""' end end
Version data entries
15 entries across 15 versions & 2 rubygems