Permalink
Browse files

fixed a small issue

  • Loading branch information...
1 parent 8441c59 commit 2866ccd983862b7b28f211cc07d97915b371162e @ckirkendall ckirkendall committed Nov 26, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 test/foreclojure/test/solutions.clj
@@ -19,8 +19,7 @@
(fact "about get-solution: hide solutions = true"
(get-solution :public uid pid) => falsey
(provided
- (fetch-one :solutions :where {:user uid :problem pid}) => {:code code}
- (fetch-one :users :where {:_id uid} :only [:hide-solutions]) => {:hide-solutions true}))
+ (fetch-one :users :where {:_id uid} :only [:hide-solutions]) => {:hide-solutions true}))
(fact "about get-solution: hide solutions = true"
(get-solution :public uid pid) => code
(provided

0 comments on commit 2866ccd

Please sign in to comment.