Beispiel #1
0
		public void should_respect_defaultdb_properly()
		{
			var connectionStringOptions = new RavenConnectionStringOptions();
			//SmugglerAction action = SmugglerAction.Import;
			connectionStringOptions.Url = "http://localhost:8080";
			connectionStringOptions.DefaultDatabase = "test";

			var api = new SmugglerTester(connectionStringOptions);
			var rootDatabaseUrl = GetRootDatabaseUrl(connectionStringOptions.Url);
			var docUrl = rootDatabaseUrl + "/docs/Raven/Databases/" + connectionStringOptions.DefaultDatabase;
			Console.WriteLine(docUrl);
		}
Beispiel #2
0
        public void should_respect_defaultdb_properly()
        {
            var connectionStringOptions = new RavenConnectionStringOptions();

            //SmugglerAction action = SmugglerAction.Import;
            connectionStringOptions.Url             = "http://localhost:8080";
            connectionStringOptions.DefaultDatabase = "test";

            var api             = new SmugglerTester(connectionStringOptions);
            var rootDatabaseUrl = GetRootDatabaseUrl(connectionStringOptions.Url);
            var docUrl          = rootDatabaseUrl + "/docs/Raven/Databases/" + connectionStringOptions.DefaultDatabase;

            Console.WriteLine(docUrl);
        }