Ejemplo n.º 1
0
        public void seeds_history_table_is_exists()
        {
            ISeedRepository seedRepository = new SqLiteRepository(_connectionString);

            seedRepository.CreateSeedsHistory();

            seedRepository.IsExistsSeedsHistory().Should().BeTrue();
            seedRepository.DeleteSeedsHistory();
        }
Ejemplo n.º 2
0
        public void insert_with_creating_table()
        {
            ISeedRepository seedRepository = new SqLiteRepository(_connectionString);

            seedRepository.AddToSeedsHistory("Test", "1.0");

            seedRepository.IsExistsSeedsHistory().Should().BeTrue();
            seedRepository.DeleteSeedsHistory();
        }
Ejemplo n.º 3
0
        public void seeds_history_table_not_exists()
        {
            ISeedRepository seedRepository = new SqLiteRepository(_connectionString);

            seedRepository.IsExistsSeedsHistory().Should().BeFalse();
        }