Fix file naming
This commit is contained in:
parent
8902d51c14
commit
28d6c3b6b9
@ -45,14 +45,14 @@ public class CanReadProducts : IDisposable
|
|||||||
Assert.Equal(3, products.Count());
|
Assert.Equal(3, products.Count());
|
||||||
}
|
}
|
||||||
|
|
||||||
[ExcelFact(Workbook = @"TestWorkbooks\TestSpecificaion.xlsx")]
|
[ExcelFact(Workbook = @"TestWorkbooks\TestSpecification.xlsx")]
|
||||||
public void CanReadWorkbook()
|
public void CanReadWorkbook()
|
||||||
{
|
{
|
||||||
Worksheet worksheet = Util.Workbook.Worksheets[1];
|
Worksheet worksheet = Util.Workbook.Worksheets[1];
|
||||||
var result = _reader.ReadProducts(new[] { worksheet });
|
var result = _reader.ReadProducts(new[] { worksheet });
|
||||||
Assert.NotNull(result);
|
Assert.NotNull(result);
|
||||||
Assert.NotEmpty(result);
|
Assert.NotEmpty(result);
|
||||||
Assert.Equal("TestSpecificaion", result.First().Item1);
|
Assert.Equal("TestSpecification", result.First().Item1);
|
||||||
var products = result.First().Item2;
|
var products = result.First().Item2;
|
||||||
Assert.Equal(46, products.Count());
|
Assert.Equal(46, products.Count());
|
||||||
Assert.Equal(29266, products.Sum(p => p.Value));
|
Assert.Equal(29266, products.Sum(p => p.Value));
|
||||||
|
Loading…
Reference in New Issue
Block a user