Permalink
Browse files

fix unit tests

  • Loading branch information...
1 parent b16945a commit e52c02d1fe74945bdae69a8b1a87916d88083735 @gasparnagy gasparnagy committed Jul 12, 2011
Binary file not shown.
@@ -63,6 +63,10 @@
<Project>{44D52C1B-0ABC-44B6-8EB8-0F754E264226}</Project>
<Name>TechTalk.SpecFlow.IdeIntegration</Name>
</ProjectReference>
+ <ProjectReference Include="..\..\Runtime\TechTalk.SpecFlow.csproj">
+ <Project>{413EE28C-4F89-4C6F-BA1E-2CDEE4CD43B4}</Project>
+ <Name>TechTalk.SpecFlow</Name>
+ </ProjectReference>
<ProjectReference Include="..\..\Utils\TechTalk.SpecFlow.Utils.csproj">
<Project>{C0AF4A43-0C3B-47C7-86DE-79FB632B1453}</Project>
<Name>TechTalk.SpecFlow.Utils</Name>
@@ -6,6 +6,7 @@
using System.Text;
using Moq;
using NUnit.Framework;
+using TechTalk.SpecFlow;
using TechTalk.SpecFlow.Generator;
using TechTalk.SpecFlow.Generator.Interfaces;
using TechTalk.SpecFlow.IdeIntegration;
@@ -132,8 +133,10 @@ public void Should_be_able_to_load_generator_from_another_folder()
{
using(var tempFolder = new TempFolder())
{
+ var runtimeAssemblyFile = typeof(BindingAttribute).Assembly.Location;
var generatorAssemblyFile = typeof(TestGeneratorFactory).Assembly.Location;
var utilsAssemblyFile = typeof(FileSystemHelper).Assembly.Location;
+ FileSystemHelper.CopyFileToFolder(runtimeAssemblyFile, tempFolder.FolderName);
FileSystemHelper.CopyFileToFolder(generatorAssemblyFile, tempFolder.FolderName);
FileSystemHelper.CopyFileToFolder(utilsAssemblyFile, tempFolder.FolderName);

0 comments on commit e52c02d

Please sign in to comment.