示例#1
0
        public void seeds_history_table_is_exists()
        {
            ISeedRepository seedRepository = new SqLiteRepository(_connectionString);

            seedRepository.CreateSeedsHistory();

            seedRepository.IsExistsSeedsHistory().Should().BeTrue();
            seedRepository.DeleteSeedsHistory();
        }
示例#2
0
        public void insert_with_creating_table()
        {
            ISeedRepository seedRepository = new SqLiteRepository(_connectionString);

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

            seedRepository.IsExistsSeedsHistory().Should().BeTrue();
            seedRepository.DeleteSeedsHistory();
        }
示例#3
0
        public void seeds_history_table_not_exists()
        {
            ISeedRepository seedRepository = new SqLiteRepository(_connectionString);

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