test/parser_test.rb in kasket-2.2.1 vs test/parser_test.rb in kasket-3.0.0

- old
+ new

@@ -59,10 +59,10 @@ should "extract required index" do assert_equal [:blog_id, :title], parse(:conditions => {:title => 'red', :blog_id => 1})[:index] end should "only support queries against its model's table" do - assert !parse(:conditions => {'users.id' => 2}, :from => 'apples') + assert !parse(:conditions => {'blogs.id' => 2}, :from => 'apples') end should "support cachable queries" do assert parse(:conditions => {:id => 1}) assert parse(:conditions => {:id => 1}, :limit => 1)