applicationmode cleanup.

This commit is contained in:
kayone
2013-11-25 22:53:36 -08:00
parent c219be8c8d
commit 1e6817220a
28 changed files with 187 additions and 144 deletions
@@ -35,9 +35,9 @@ namespace NzbDrone.Common.Test
[Test]
public void should_use_path_from_arg_if_provided()
{
var args = new StartupArguments("-data=\"c:\\users\\test\\\"");
var args = new StartupContext("-data=\"c:\\users\\test\\\"");
Mocker.SetConstant<IStartupArguments>(args);
Mocker.SetConstant<IStartupContext>(args);
Subject.AppDataFolder.Should().Be("c:\\users\\test\\");
}
}