jeremyevans/sequel — Issue #412: Spec failure on master
Author: chanks
Created: 2011-12-27 02:49:05+00:00
State: open

I ran the plugin/extension specs on master and got this failure, repeatably:

Failure/Error: MODEL_DB.sqls.should == ["UPDATE people SET name = 'Bob' WHERE (id = 1)"]
expected: ["UPDATE people SET name = 'Bob' WHERE (id = 1)"]
got: ["SELECT * FROM tatical_eager_loading_models WHERE (tatical_eager_loading_models.id IN (101, 102))", "UPDATE people SET name = 'Bob' WHERE (id = 1)"] (using ==)
Diff:
@@ -1,2 +1,3 @@
-["UPDATE people SET name = 'Bob' WHERE (id = 1)"]
+["SELECT * FROM tatical_eager_loading_models WHERE (tatical_eager_loading_models.id IN (101, 102))",
+ "UPDATE people SET name = 'Bob' WHERE (id = 1)"]
# ./spec/extensions/instance_filters_spec.rb:14

I also got a warning (this is using Rake 0.9.2.2), but it doesn't seem as important:

WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.