Sha256: 5c9a4e0cca21dff87c13f82324d0523c30664b66a7d9deb1907c984146234ac7

Contents?: true

Size: 369 Bytes

Versions: 3

Compression:

Stored size: 369 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
require 'testgen/cli'

describe Testgen::CLI, "execute" do
  before(:each) do
    @stdout_io = StringIO.new
    Testgen::CLI.execute(@stdout_io, [])
    @stdout_io.rewind
    @stdout = @stdout_io.read
  end
  
  it "should do something" do
    @stdout.should_not =~ /To update this executable/
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cgialib-0.0.1 spec/testgen_cli_spec.rb
cgialib-0.0.2 spec/testgen_cli_spec.rb
cgialib-0.0.3 spec/testgen_cli_spec.rb