Skip to content

Commit cddeadc

Browse files
committed
Adapted the test to reflect on the new ExportAsSourceFile functionality
1 parent e121c9e commit cddeadc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

RubberduckTests/CodeExplorer/CodeExplorerViewModelTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1858,7 +1858,8 @@ public void ExportModule_ExpectExecution()
18581858
{
18591859
explorer.VbComponent.Setup(c => c.ExportAsSourceFile(folder, It.IsAny<bool>(), It.IsAny<bool>()));
18601860
explorer.ExecuteExportCommand();
1861-
explorer.VbComponent.Verify(c => c.ExportAsSourceFile(folder, false, true), Times.Once);
1861+
// Expected: ExportAsSourceFile will now be called with the full path, because the default filename was appended.
1862+
explorer.VbComponent.Verify(c => c.ExportAsSourceFile(path, false, true), Times.Once);
18621863
}
18631864
}
18641865

0 commit comments

Comments
 (0)