Example #1
0
        public void GetDifficulties_ShouldReturnDifficulties()
        {
            var controller = new RecipeController(GetRepository());

            var result = controller.GetDifficulties() as List <String>;

            Assert.AreEqual(result.Count, Enum.GetValues <RecipeDifficulty>().ToList().Count);
        }