public void GivenStoreWithItem() { _store = new InMemoryFrankenstore(); _store.StoreAsync(new[] { ObjectMother.Frankenwiki.Frankenpages.Default .WithCategory("random", "Random") .Build() }); }
public void GivenStoreWithItem() { _store = new InMemoryFrankenstore(); _store.StoreAsync(new[] { ObjectMother.Frankenwiki.Frankenpages.Default .WithCategory("random", "Random") .Build() }); }
public void GivenStoreWithItem() { _store = new InMemoryFrankenstore(); _store.StoreAsync(new[] { ObjectMother.Frankenwiki.Frankenpages.Default .WithSlug("page-matching-category") .WithTitle("Page Matching Category") .WithCategory("random", "Random") .Build() }); }
public void GivenStoreWithItem() { _store = new InMemoryFrankenstore(); _store.StoreAsync(new[] { ObjectMother.Frankenwiki.Frankenpages.Default .WithSlug("page-matching-category") .WithTitle("Page Matching Category") .WithCategory("random", "Random") .Build() }); }
public void GivenStoreWithNoPages() { _store = new InMemoryFrankenstore(); _store.StoreAsync(new[] { ObjectMother.Frankenwiki.Frankenpages.Default .WithCategory("one", "One") .Build(), ObjectMother.Frankenwiki.Frankenpages.Default .WithCategory("two", "Two") .Build(), }); }
public void GivenStoreWithNoPages() { _store = new InMemoryFrankenstore(); _store.StoreAsync(new[] { ObjectMother.Frankenwiki.Frankenpages.Default .WithCategory("one", "One") .Build(), ObjectMother.Frankenwiki.Frankenpages.Default .WithCategory("two", "Two") .Build(), }); }
public void GivenStoreWithItems() { _store = new InMemoryFrankenstore(); _store.StoreAsync(new[] { ObjectMother.Frankenwiki.Frankenpages.Default .WithSlug("category-random") .WithTitle("Random category disambiguation (this is ignored)") .WithHtml("<p>Text about the random category</p>") .Build(), ObjectMother.Frankenwiki.Frankenpages.Default .WithSlug("page-matching-category") .WithTitle("Page Matching Category") .WithCategory("random", "Random") .Build() }); }
public void GivenStoreWithItems() { _store = new InMemoryFrankenstore(); _store.StoreAsync(new[] { ObjectMother.Frankenwiki.Frankenpages.Default .WithSlug("category-random") .WithTitle("Random category disambiguation (this is ignored)") .WithHtml("<p>Text about the random category</p>") .Build(), ObjectMother.Frankenwiki.Frankenpages.Default .WithSlug("page-matching-category") .WithTitle("Page Matching Category") .WithCategory("random", "Random") .Build() }); }
async void WhenThePagesAreIndexed() { var generator = new InMemoryFrankenstore(); await generator.StoreAsync(new[] { _primaryPage, _secondaryPage }); }
async void WhenThePagesAreIndexed() { var generator = new InMemoryFrankenstore(); await generator.StoreAsync(new[] { _page, _page2, _page3, _page4 }); }
public void AndGivenAnInMemoryStore() { _store = new InMemoryFrankenstore(); }
public void AndGivenAnInMemoryStore() { _store = new InMemoryFrankenstore(); }
async void WhenThePagesAreIndexed() { var generator = new InMemoryFrankenstore(); await generator.StoreAsync(new[] { _primaryPage, _secondaryPage }); }
public void GivenStoreWithNoPages() { _store = new InMemoryFrankenstore(); }
public void GivenEmptyStore() { _store = new InMemoryFrankenstore(); }
public void GivenStoreWithNoPages() { _store = new InMemoryFrankenstore(); }
async void WhenThePagesAreIndexed() { var generator = new InMemoryFrankenstore(); await generator.StoreAsync(new[] { _page, _page2, _page3, _page4 }); }