spec/spec_helper.rb in licensee-9.10.0 vs spec/spec_helper.rb in licensee-9.10.1
- old
+ new
@@ -107,9 +107,10 @@
match do |actual|
@expected_as_array = [expected.content_normalized(wrap: 80)]
license_file = Licensee::ProjectFiles::LicenseFile.new(actual, 'LICENSE')
@actual = license_file.content_normalized(wrap: 80)
return false unless license_file.license
+
values_match? expected, license_file.license
end
failure_message do |actual|
license_file = Licensee::ProjectFiles::LicenseFile.new(actual, 'LICENSE')