test/functions.rb in licensee-8.0.0 vs test/functions.rb in licensee-8.1.0

- old
+ new

@@ -10,10 +10,10 @@ def fixture_path(fixture) File.expand_path fixture, fixtures_base end def license_from_path(path) - license = File.open(path).read.match(/\A(---\n.*\n---\n+)?(.*)/m).to_a[2] + license = File.read(path, encoding: 'utf-8').match(/\A(---\n.*\n---\n+)?(.*)/m).to_a[2] license.sub! '[fullname]', 'Ben Balter' license.sub! '[year]', '2014' license.sub! '[email]', 'ben@github.invalid' license end