 (deftest test-counter-2
   (dotimes [i 100]
     (update *session* :user_counters
-            {:user_count (query/increment)}
+            {:user_count (increment)}
             (where {:name "user1"})))
   (is (= 100 (-> (select *session* :user_counters)
                  first


  (testing "Decrement with explicit params"
    (update *session* :user_counters
            {:user_count (query/increment-by 5000000)}
            (where {:name "user1"}))
    (is (= 5000500 (-> (select *session* :user_counters)
                       first

            [clj-time.core                       :refer [seconds ago before? date-time] :as tc]

            [clojurewerkz.cassaforte.cql         :refer :all]
            [clojure.test                        :refer :all]))


(use-fixtures :each with-temporary-keyspace)
