/Source/Examples/Example.UsingExternalFile/UsingExternalFileSpecs.cs
https://github.com/machine/machine.specifications · C# · 15 lines · 12 code · 3 blank · 0 comment · 0 complexity · 3cec16dd873a3145c5d0bfe539d4307e MD5 · raw file
- using System.IO;
-
- using FluentAssertions;
-
- using Machine.Specifications;
-
- namespace Example.UsingExternalFile
- {
- [Subject("External resources usage")]
- public class when_using_file_copied_to_assembly_output_directory
- {
- It should_be_able_to_locate_it_by_relative_path = () =>
- File.Exists("TestData.txt").Should().BeTrue();
- }
- }