1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-13 22:43:35 +01:00
Radarr/NzbDrone.Web.UI.Test/Fluent/DriverAssertion.cs
2011-12-18 21:10:58 -08:00

22 lines
440 B
C#

using System.Linq;
using FluentAssertions;
using OpenQA.Selenium.Remote;
namespace NzbDrone.Web.UI.Automation.Fluent
{
public class DriverAssertion
{
private readonly RemoteWebDriver _driver;
public DriverAssertion(RemoteWebDriver driver)
{
_driver = driver;
}
public void BeNzbDronePage()
{
_driver.Title.Should().EndWith("NzbDrone");
}
}
}