/Source/Examples/Example.UsingExternalFile/UsingConfigFileSpecs.cs
C# | 15 lines | 12 code | 3 blank | 0 comment | 0 complexity | 2fab20b1d029d6897684f7cd17e0191a MD5 | raw file
Possible License(s): MIT, CC-BY-SA-3.0
- using System.Configuration;
-
- using FluentAssertions;
-
- using Machine.Specifications;
-
- namespace Example.UsingExternalFile
- {
- [Subject("External resources usage")]
- public class when_using_test_assembly_configuration_file
- {
- It should_be_able_to_read_application_settings =
- () => ConfigurationManager.AppSettings["key"].Should().Be("value");
- }
- }