Sha256: 14f0c9d1d914f9ee0223dd8a1a4d98933cbe751ad1a61914938c1134150db94a

Contents?: true

Size: 329 Bytes

Versions: 6

Compression:

Stored size: 329 Bytes

Contents

require 'helper'

class TestLicenseeBin < Minitest::Test
  should "work via commandline" do
    root = File.expand_path "..", File.dirname(__FILE__)
    Dir.chdir root
    stdout,stderr,status = Open3.capture3("#{root}/bin/licensee")
    assert stdout.include? "License: MIT"
    assert stdout.include? "Match: 98.42%"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
licensee-0.2.0 test/test_licensee_bin.rb
licensee-0.1.1 test/test_licensee_bin.rb
licensee-0.1.0 test/test_licensee_bin.rb
licensee-0.0.3 test/test_licensee_bin.rb
licensee-0.0.2 test/test_licensee_bin.rb
licensee-0.0.1 test/test_licensee_bin.rb