public void GivenAStandAloneEventExists() { var createSteps = new CreateStandAloneEventSteps(); createSteps.GivenAValidStandAloneEventIsReadyToBeSubmitted(); createSteps.WhenTheStandAloneEventIsAttemptedToBeCreated(); createSteps.ThenTheStandAloneEventCanBeRetrieved(); }
public void GivenAStandAloneEventWithTeacherRateExists(decimal teacherRate) { var createSteps = new CreateStandAloneEventSteps(); createSteps.GivenAValidStandAloneEventIsReadyToBeSubmitted(); var standAloneEvent = ScenarioCache.Get <StandAloneEventModel>(ModelKeys.StandAloneEvent); standAloneEvent.TeacherRate = teacherRate; ScenarioCache.Store(ModelKeys.StandAloneEvent, standAloneEvent); createSteps.WhenTheStandAloneEventIsAttemptedToBeCreated(); createSteps.ThenTheStandAloneEventCanBeRetrieved(); }
public void GivenAPrivateStandAloneEventExists() { var createSteps = new CreateStandAloneEventSteps(); createSteps.GivenAValidStandAloneEventIsReadyToBeSubmitted(); var standAloneEvent = ScenarioCache.Get <StandAloneEventModel>(ModelKeys.StandAloneEvent); standAloneEvent.IsPrivate = true; ScenarioCache.Store(ModelKeys.StandAloneEvent, standAloneEvent); createSteps.WhenTheStandAloneEventIsAttemptedToBeCreated(); createSteps.ThenTheStandAloneEventCanBeRetrieved(); }