public void build_in_memory() { var settings = new RavenDbSettings { RunInMemory = true }; settings.Create().ShouldBeOfType<EmbeddableDocumentStore>() .RunInMemory.ShouldBeTrue(); }
public IDocumentStore Build() { var documentStore = _settings.Create(); documentStore.Initialize(); _configurations.Each(x => x.Configure(documentStore)); return(documentStore); }
public void Start() { NonAdminHttp.EnsureCanListenToWhenInNonAdminContext(8080); RavenDbSettings settings = RavenDbSettings.InMemory(); settings.UseEmbeddedHttpServer = true; _store = settings.Create(); _store.Initialize(); }