Permalink
Browse files

Renaming the project to departures-board

  • Loading branch information...
1 parent 43f1ea0 commit 3b3366fb133c1b1e77d4f2a7a1ecdaf975ea5952 @st3fan committed Mar 30, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 project.clj
  2. +2 −2 test/departures_board/nextbus_test.clj
View
@@ -1,4 +1,4 @@
-(defproject transit "0.1.0-SNAPSHOT"
+(defproject departures-board "0.1.0-SNAPSHOT"
:description "Departures Board"
:url "https://github.com/st3fan/departures-board"
:license {:name "Eclipse Public License"
@@ -6,15 +6,15 @@
[departures-board.nextbus :as nextbus]))
(deftest test-load-agency
- (binding [nextbus/NEXTBUS-DATA-DIR "test/transit/nextbus-data"]
+ (binding [nextbus/NEXTBUS-DATA-DIR "test/departures_board/nextbus-data"]
(testing "Load the (prepared) nextbus data"
(let [ttc (nextbus/load-agency "ttc")]
(is (not (nil? ttc)))
(is (= 2 (count (:routes ttc))))
(is (= 237 (count (:stops ttc))))))))
(deftest test-find-stops
- (binding [nextbus/NEXTBUS-DATA-DIR "test/transit/nextbus-data"]
+ (binding [nextbus/NEXTBUS-DATA-DIR "test/departures_board/nextbus-data"]
(testing "Find stops near first fifth st"
(let [ttc (nextbus/load-agency "ttc") fifth-street {:latitude 43.60023 :longitude -79.50257}]
(is (= 2 (count (nextbus/find-stops ttc fifth-street 0.2))))

0 comments on commit 3b3366f

Please sign in to comment.