Fix file naming

This commit is contained in:
Sergey Chebotar 2023-05-18 14:53:52 +03:00
parent 8902d51c14
commit 28d6c3b6b9

View File

@ -45,14 +45,14 @@ public class CanReadProducts : IDisposable
Assert.Equal(3, products.Count());
}
[ExcelFact(Workbook = @"TestWorkbooks\TestSpecificaion.xlsx")]
[ExcelFact(Workbook = @"TestWorkbooks\TestSpecification.xlsx")]
public void CanReadWorkbook()
{
Worksheet worksheet = Util.Workbook.Worksheets[1];
var result = _reader.ReadProducts(new[] { worksheet });
Assert.NotNull(result);
Assert.NotEmpty(result);
Assert.Equal("TestSpecificaion", result.First().Item1);
Assert.Equal("TestSpecification", result.First().Item1);
var products = result.First().Item2;
Assert.Equal(46, products.Count());
Assert.Equal(29266, products.Sum(p => p.Value));