remove tight binding between metadata and tests for some of the exploration tests

This commit is contained in:
John Krauss
2016-05-24 13:24:37 -04:00
parent 45ae255223
commit 614bce3051
2 changed files with 13 additions and 65 deletions
@@ -24,10 +24,13 @@ FROM cdb_observatory._OBS_SearchTables(
'1988' -- year before first tiger data was collected
) As t(table_name, timespan);
SELECT *
FROM cdb_observatory.OBS_Search('total_pop');
SELECT COUNT(*) > 0 AS _OBS_SearchTotalPop
FROM cdb_observatory.OBS_Search('total_pop')
AS t(id, description, name, aggregate, source);
SELECT *
FROM cdb_observatory.OBS_GetAvailableBoundaries(cdb_observatory._TestPoint());
SELECT COUNT(*) > 0 AS _OBS_GetAvailableBoundariesExist
FROM cdb_observatory.OBS_GetAvailableBoundaries(
cdb_observatory._TestPoint()
) AS t(boundary_id, description, time_span, tablename);
\i test/fixtures/drop_fixtures.sql