Sha256: 4a4965533af1fc6ee0ce70e78871d821a3b179445da1f0c3616c38af92b189af
Contents?: true
Size: 443 Bytes
Versions: 31
Compression:
Stored size: 443 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../spec_helper' describe "``" do platform_is_not :android do it "returns the output of the executed sub-process" do ip = 'world' `echo disc #{ip}`.should == "disc world\n" end end end describe "%x" do platform_is_not :android do it "is the same as ``" do ip = 'world' %x(echo disc #{ip}).should == "disc world\n" end end end
Version data entries
31 entries across 31 versions & 1 rubygems