Sha256: 21c32405f9651a4baab79dd617fce69ae1bc9cc4f79b1a03b64e1d8e851c26ce
Contents?: true
Size: 594 Bytes
Versions: 7
Compression:
Stored size: 594 Bytes
Contents
require 'spec_helper' # require 'wukong' # describe_example_script(:parse_apache_logs, 'dataflow/parse_apache_logs.rb') do # it 'runs' do # subject = Wukong.dataflow(:parse_apache_logs) # out, err = Gorillib::TestHelpers.capture_output do # Wukong::LocalRunner.receive(:flow => subject) do # run :default # end # end # out.string.split("\n").first.should == "127.0.0.1 - - [10/Apr/2007:10:39:11 +0300] \"GET / HTTP/1.1\" 500 606 \"-\" \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)\"\t" # end # end
Version data entries
7 entries across 7 versions & 2 rubygems