Permalink
Browse files

Better examples

  • Loading branch information...
1 parent a03e8d6 commit f37e6e8b8371ea350743624fe91b4ec91bd0e2f9 @marick committed Jan 20, 2013
Showing with 1 addition and 14 deletions.
  1. +1 −1 examples/config-file-that-changes-reporting.clj
  2. +0 −13 examples/noisy-emission-plugin.clj
@@ -1 +1 @@
-(change-defaults :emitter "examples/noisy-emission-plugin.clj")
+(change-defaults :print-level :print-facts)
@@ -1,13 +0,0 @@
-(ns ^{:doc "This map prints what's called."}
- midje.emission.plugins.noisy
- (:require [midje.emission.state :as state]))
-
-(defn- in [function-name]
- (fn [& args] (println "In" function-name)))
-
-(def emission-map {:pass (in 'pass)
- :fail (in 'fail)
- :starting-fact-stream (in 'forget-everything)
- })
-
-(state/install-emission-map emission-map)

0 comments on commit f37e6e8

Please sign in to comment.