spec/extensions/unlimited_update_spec.rb in sequel-4.22.0 vs spec/extensions/unlimited_update_spec.rb in sequel-4.23.0
- old
+ new
@@ -9,12 +9,12 @@
@db.sqls
end
it "should remove limit from update dataset" do
@o.save
- @db.sqls.should == ["UPDATE test SET name = 'a' WHERE (id = 1) LIMIT 1"]
+ @db.sqls.must_equal ["UPDATE test SET name = 'a' WHERE (id = 1) LIMIT 1"]
@c.plugin :unlimited_update
@o.save
- @db.sqls.should == ["UPDATE test SET name = 'a' WHERE (id = 1)"]
+ @db.sqls.must_equal ["UPDATE test SET name = 'a' WHERE (id = 1)"]
end
end