aboutsummaryrefslogtreecommitdiff
path: root/RhSolutions.Tests
diff options
context:
space:
mode:
Diffstat (limited to 'RhSolutions.Tests')
-rw-r--r--RhSolutions.Tests/CanFillSleeves.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/RhSolutions.Tests/CanFillSleeves.cs b/RhSolutions.Tests/CanFillSleeves.cs
index aedad09..ca00407 100644
--- a/RhSolutions.Tests/CanFillSleeves.cs
+++ b/RhSolutions.Tests/CanFillSleeves.cs
@@ -6,7 +6,7 @@ namespace RhSolutions.Tests;
public class CanFillSleeves : IDisposable
{
private RhSolutionsAddIn _addIn;
- private ISleevesCalculator _calculator;
+ private IFittingsCalculator _calculator;
private IReader _reader;
private IWriter _writer;
private Worksheet _worksheet;
@@ -25,7 +25,7 @@ public class CanFillSleeves : IDisposable
public void CanCalculateSleeves()
{
var products = _reader.ReadProducts(new[] { _worksheet });
- var sleeves = _calculator.CalculateSleeves(products.First().Item2);
+ var sleeves = _calculator.Calculate(products.First().Item2);
_writer.WriteProducts(sleeves);
Assert.Equal(25, _worksheet.Range["E2"].Value);