+
+
+
+
+
Committee Meetings
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Tuesday, August 6, 2019 - 9:00am
+
+
+
+
+
+
+
+
+
+
+
+
+
RTA Main Office
+
+ 1240 West 6th St
+ Board Room
+
+
Cleveland,
OH
+
44113
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Service Alerts
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
This area of the webpage is simply a placeholder for the bottom shadow
+
+
+
+
+
+
diff --git a/tests/test_cle_transit.py b/tests/test_cle_transit.py
index bdf31b1..79b6d36 100644
--- a/tests/test_cle_transit.py
+++ b/tests/test_cle_transit.py
@@ -1,122 +1,125 @@
-# flake8: noqa: E501
from datetime import datetime
-from unittest.mock import MagicMock
+from os.path import dirname, join
-import pytest
-from city_scrapers_core.constants import BOARD
-from scrapy.http import HtmlResponse, Request
-from scrapy.utils.test import get_crawler
+import pytest # noqa
+from city_scrapers_core.constants import COMMITTEE, PASSED
+from city_scrapers_core.utils import file_response
+from freezegun import freeze_time
from city_scrapers.spiders.cle_transit import CleTransitSpider
+test_response = file_response(
+ join(dirname(__file__), "files", "cle_transit.html"),
+ url="http://www.riderta.com/events/2019/8/6/committee-meetings",
+)
+spider = CleTransitSpider()
-@pytest.fixture
-def spider():
- crawler = get_crawler(CleTransitSpider)
- return CleTransitSpider.from_crawler(crawler)
-
-
-def test_parse(spider, mocker):
- html_content = """
-