예제 #1
0
파일: LoginSteps.cs 프로젝트: csf-dev/agiil
        public void WhenYoussefAttemptsToLogin(string username, string password)
        {
            var youssef = cast.Get <Youssef>();

            stage.ShineTheSpotlightOn(youssef);

            When(youssef).AttemptsTo(LogIntoTheSite.As(username).WithThePassword(password));
        }
예제 #2
0
파일: LoginSteps.cs 프로젝트: csf-dev/agiil
        public void WhenJoeAttemptsToLogin(string username, string password)
        {
            var joe = cast.Get <Joe>();

            stage.ShineTheSpotlightOn(joe);

            When(joe).AttemptsTo(LogIntoTheSite.As(username).WithThePassword(password));
        }
예제 #3
0
파일: LoginSteps.cs 프로젝트: csf-dev/agiil
        public void WhenTheyAttemptToLogin(string username, string password)
        {
            var theActor = stage.GetTheActorInTheSpotlight();

            When(theActor).AttemptsTo(LogIntoTheSite.As(username).WithThePassword(password));
        }