Esempio n. 1
0
        public void Returns_Settings_If_Settings_Exist()
        {
            Scaffold.Config();
            WorkflowSettingsPoco settings = _repo.GetSettings();

            Assert.NotNull(settings);
            Assert.Equal("12", settings.DefaultApprover);
        }
Esempio n. 2
0
        /// <summary>
        /// Get the workflow settings
        /// </summary>
        /// <returns></returns>
        public WorkflowSettingsPoco GetSettings()
        {
            WorkflowSettingsPoco settings = _repo.GetSettings();

            return(settings);
        }