Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fterrier committed Feb 10, 2015
1 parent 7aae2aa commit bb21bfc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tramboard_clj/script/tram.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@
back-icon (om/build menu-icon
{:current-state current-state :complete-state complete-state}
{:state {:span-class "back-link pull-left"
:icon-class "glyphicon-arrow-left"
:icon-class "glyphicon-home"
:hidden-text "back"
:on-action (fn [_ current-state]
(om/transact! current-state #(go-home %)))}})]
Expand Down
6 changes: 4 additions & 2 deletions test/tramboard_clj/core/zvv_tests.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
(zvv/transform-station-response (:flughafen_xxxx fixtures)) =>
(contains {:departures (contains {:zvv_id "11484850"
:name "S2"
:type "S"
:type "train"
:accessible false
:colors { :fg nil :bg nil }
:to "Ziegelbrücke"
:departure {
Expand All @@ -26,7 +27,8 @@
(zvv/transform-station-response (:central_2228 fixtures)) =>
(contains {:departures (contains {:zvv_id "32108510"
:name "31"
:type "Bus-NF"
:type "bus"
:accessible true
:colors { :fg "#ffffff" :bg "#a5a2c6" }
:to "Zürich, Hegibachplatz"
:departure {
Expand Down

0 comments on commit bb21bfc

Please sign in to comment.