Sha256: 2f586b5b80d768cbf0a2f51e950a3a298bbae3c2cfebf91f3b1b8a0ca3b89c3d

Contents?: true

Size: 409 Bytes

Versions: 2

Compression:

Stored size: 409 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/test_helper')

describe ::Sparkr::CLI do
  it "should find work" do
    out, err = capture_io do
      ::Sparkr::CLI.run("1", "2", "3", "4", "100", "5", "10", "20", "50", "300")
    end
    refute out.empty?, "there should be some output"
    assert err.empty?, "there should be no errors"
    assert_equal "▁▁▁▁▃▁▁▁▂█\n", out
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sparkr-0.1.1 test/cli_test.rb
sparkr-0.1.0 test/cli_test.rb