Skip to content
Snippets Groups Projects
Commit 398f7f96 authored by Cam Saul's avatar Cam Saul
Browse files

test fix

parent b82d9123
No related branches found
No related tags found
No related merge requests found
......@@ -30,9 +30,9 @@
(defn field-should-have-field-values?
"Should this `Field` be backed by a corresponding `FieldValues` object?"
{:arglists '([field])}
[{:keys [base_type special_type]}]
{:pre [base_type
special_type]}
[{:keys [base_type special_type] :as field}]
{:pre [(contains? field :base_type)
(contains? field :special_type)]}
(or (contains? #{:category :city :state :country} (keyword special_type))
(= (keyword base_type) :BooleanField)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment