1 require File.dirname(__FILE__) + '/../spec_helper'
3 describe "Execution literal" do
4 it "`` should return the result of the executed sub-process" do
6 `echo disc #{ip}`.should == "disc world\n"
9 # NOTE: Interpolation ? It's not consistant with %w for example.
10 it "%x() is the same (with also interpolation)" do
12 %x(echo disc #{ip}).should == "disc world\n"
15 # NOTE: %X doesn't exist.