Sha256: bb6b32c41c6f73d0c2f96fe31cf571c7b249ea2cc634d5ff5490a82912a6513f
Contents?: true
Size: 416 Bytes
Versions: 7
Compression:
Stored size: 416 Bytes
Contents
require 'helper' describe Scide::Commands::Tail do it "should use given contents as argument -f of tail" do com = Scide::Commands::Tail.new 'fubar' com.text_with_options.should == 'tail -f fubar\012' end it "should use the :tail option as arguments to tail" do com = Scide::Commands::Tail.new 'fubar', :tail => '-n 1000' com.text_with_options.should == 'tail -n 1000 -f fubar\012' end end
Version data entries
7 entries across 7 versions & 1 rubygems