Permalink
Browse files

Fixed code execution

  • Loading branch information...
1 parent 99d4192 commit d70d1ee292cc78bfd3598fa871b9447ca3e1c491 @skuro committed Nov 25, 2012
Showing with 6 additions and 12 deletions.
  1. +6 −6 src/chai/danlik.clj
  2. +0 −6 test/chai/web_test.clj
View
@@ -22,6 +22,12 @@
[]
(delayed 0))
+(defn elapsed?
+ "Returns true if the provided date is in the past"
+ [date]
+ (time/after? (force/to-date-time (now))
+ (force/to-date-time date)))
+
(defn cleanup
"Clears the elapsed counters from the provided danlik"
[danlik]
@@ -31,12 +37,6 @@
(apply dissoc danlik removables)
danlik))
-(defn elapsed?
- "Returns true if the provided date is in the past"
- [date]
- (time/after? (force/to-date-time (now))
- (force/to-date-time date)))
-
(defn- get-danlik-impl
"In-memory implementation of a chaidanlik read."
[]
View
@@ -1,6 +0,0 @@
-(ns chai.web-test
- (:require [clojure.test :refer :all]
- [chai.web :refer :all]))
-
-(deftest first-test
- (is false "Tests should be written"))

0 comments on commit d70d1ee

Please sign in to comment.