Sha256: 6dc4cb279312f342b3379a2b171c1e6e0a6cc4fcffd54d81190cad88d5cf5664
Contents?: true
Size: 367 Bytes
Versions: 13
Compression:
Stored size: 367 Bytes
Contents
require 'test_helper' class StringParamTest < Test::Unit::TestCase include Sprout::TestHelper context "a new StringParam" do setup do @param = Sprout::Executable::StringParam.new @param.name = "string" end should "escape spaces" do @param.value = "a b c" assert_equal '--string=a\ b\ c', @param.to_shell end end end
Version data entries
13 entries across 13 versions & 1 rubygems