Sha256: 818bfea6ab8bc4168764dca4d3558558d13f97b069372e2bcbae12fd9c471864
Contents?: true
Size: 477 Bytes
Versions: 4
Compression:
Stored size: 477 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"), "expected #{stdout} to include `License: MIT`" assert stdout.include?("Matched file: LICENSE.md"), "expected #{stdout} to include `Matched file: LICENSE.md`" assert_equal 0, status end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
licensee-5.0.0b4 | test/test_licensee_bin.rb |
licensee-5.0.0b3 | test/test_licensee_bin.rb |
licensee-5.0.0b2 | test/test_licensee_bin.rb |
licensee-5.0.0b1 | test/test_licensee_bin.rb |