test/parser_test.rb in kasket-2.2.0 vs test/parser_test.rb in kasket-2.2.1
- old
+ new
@@ -32,9 +32,13 @@
should "not support conditions with number as column and parans (e.g. 0 = 1)" do
assert !parse(:conditions => "(0 = 1)")
end
+ should "not support :order" do
+ assert !parse(:conditions => "id = 1", :order => "xxx")
+ end
+
should 'not support IN queries in combination with other conditions' do
assert !parse(:conditions => {:id => [1,2,3], :is_active => true})
end
should "extract conditions" do