6767 expect ( klass . attributes_schema_by_default ) . to eq ( true )
6868 expect ( klass . relationships_readable_by_default ) . to eq ( true )
6969 expect ( klass . relationships_writable_by_default ) . to eq ( true )
70+ expect ( klass . filters_accept_nil_by_default ) . to eq ( false )
7071 end
7172
7273 context "when rails" do
@@ -152,6 +153,7 @@ def self.name
152153 self . attributes_schema_by_default = false
153154 self . relationships_readable_by_default = false
154155 self . relationships_writable_by_default = false
156+ self . filters_accept_nil_by_default = false
155157 end
156158 end
157159
@@ -166,6 +168,7 @@ def self.name
166168 expect ( klass . attributes_schema_by_default ) . to eq ( false )
167169 expect ( klass . relationships_readable_by_default ) . to eq ( false )
168170 expect ( klass . relationships_writable_by_default ) . to eq ( false )
171+ expect ( klass . filters_accept_nil_by_default ) . to eq ( false )
169172 end
170173 end
171174
@@ -295,6 +298,7 @@ class TestResourceOverrideSerializer < PORO::ApplicationSerializer
295298 self . attributes_schema_by_default = false
296299 self . relationships_readable_by_default = false
297300 self . relationships_writable_by_default = false
301+ self . filters_accept_nil_by_default = false
298302 end
299303 end
300304
@@ -309,6 +313,7 @@ class TestResourceOverrideSerializer < PORO::ApplicationSerializer
309313 expect ( klass2 . attributes_schema_by_default ) . to eq ( false )
310314 expect ( klass2 . relationships_readable_by_default ) . to eq ( false )
311315 expect ( klass2 . relationships_writable_by_default ) . to eq ( false )
316+ expect ( klass2 . filters_accept_nil_by_default ) . to eq ( false )
312317 end
313318 end
314319
0 commit comments