test/test_hoc.rb in hoc-0.8 vs test/test_hoc.rb in hoc-0.8.1
- old
+ new
@@ -1,9 +1,9 @@
# encoding: utf-8
#
-# Copyright (c) 2014-2017 Teamed.io
-# Copyright (c) 2014-2017 Yegor Bugayenko
+# Copyright (c) 2014-2018 Teamed.io
+# Copyright (c) 2014-2018 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@@ -25,12 +25,12 @@
require 'hoc'
require 'tmpdir'
require 'slop'
# HOC main module test.
-# Author:: Yegor Bugayenko (yegor@teamed.io)
-# Copyright:: Copyright (c) 2014-2017 Yegor Bugayenko
+# Author:: Yegor Bugayenko (yegor256@gmail.com)
+# Copyright:: Copyright (c) 2014-2018 Yegor Bugayenko
# License:: MIT
class TestHOC < Minitest::Test
def test_basic_git
skip if Gem.win_platform?
Dir.mktmpdir 'test' do |dir|
@@ -42,10 +42,10 @@
git config user.name test
echo 'hello, world!' > test.txt
git add test.txt
git commit -am test
")
- assert HOC::Base.new(dir: '.', exclude: ['a/**']).report > 0
+ assert HOC::Base.new(dir: '.', exclude: ['a/**'], author: '').report > 0
end
end
def test_basic_svn
skip if Gem.win_platform?