spec/plugins_spec.rb in sequel-1.5.1 vs spec/plugins_spec.rb in sequel-2.0.0

- old
+ new

@@ -60,9 +60,13 @@ c.deff.should == {:a => 1, :b => 2} # dataset methods c.dataset.should respond_to(:ghi) c.dataset.ghi.should == {:a => 1, :b => 2} + + # dataset methods called on the class + c.should respond_to(:ghi) + c.ghi.should == {:a => 1, :b => 2} end it "should fail to apply if the plugin has DatasetMethod and the model has no datset" do proc do Class.new(Sequel::Model) do