Skip to content
Browse files

added clack-middleware-csrf-test.

  • Loading branch information...
1 parent a1522ed commit 457e29d8ffc69da504e5bfb135df4f7a177d8d49 @fukamachi committed Sep 16, 2011
Showing with 30 additions and 4 deletions.
  1. +27 −0 clack-middleware-csrf-test.asd
  2. +3 −2 clack-middleware-csrf.asd
  3. +0 −2 clack-test.asd
View
27 clack-middleware-csrf-test.asd
@@ -0,0 +1,27 @@
+#|
+ This file is a part of Clack package.
+ URL: http://github.com/fukamachi/clack
+ Copyright (c) 2011 Eitarow Fukamachi <e.arrows@gmail.com>
+
+ Clack is freely distributable under the LLGPL License.
+|#
+
+#|
+ Testing Clack.Middleware.Csrf.
+
+ Author: Eitarow Fukamachi (e.arrows@gmail.com)
+|#
+
+(in-package :cl-user)
+(defpackage clack-middleware-csrf-test-asd
+ (:use :cl :asdf))
+(in-package :clack-middleware-csrf-test-asd)
+
+(defsystem clack-middleware-csrf-test
+ :depends-on (:clack
+ :clack-middleware-csrf
+ :cl-test-more
+ :drakma)
+ :components
+ ((:file "t/contrib/middleware/csrf"))
+ :perform (load-op :after (op c) (asdf:clear-system c)))
View
5 clack-middleware-csrf.asd
@@ -13,7 +13,7 @@
|#
(in-package :cl-user)
-(defpackage :clack-middleware-csrf-asd
+(defpackage clack-middleware-csrf-asd
(:use :cl :asdf))
(in-package :clack-middleware-csrf-asd)
@@ -25,4 +25,5 @@
:cl-annot
:anaphora)
:components ((:file "src/contrib/middleware/csrf"))
- :description "Middleware for easy CSRF protection")
+ :description "Middleware for easy CSRF protection"
+ :in-order-to ((test-op (load-op clack-middleware-csrf-test))))
View
2 clack-test.asd
@@ -13,10 +13,8 @@
|#
(in-package :cl-user)
-
(defpackage clack-test-asd
(:use :cl :asdf))
-
(in-package :clack-test-asd)
(defsystem clack-test

0 comments on commit 457e29d

Please sign in to comment.
Something went wrong with that request. Please try again.