spec/extensions/boolean_readers_spec.rb in sequel-3.8.0 vs spec/extensions/boolean_readers_spec.rb in sequel-3.9.0
- old
+ new
@@ -6,10 +6,10 @@
def @db.schema(*args)
[[:id, {}], [:y, {:type=>:integer, :db_type=>'tinyint(1)'}], [:b, {:type=>:boolean, :db_type=>'boolean'}]]
end
@c = Class.new(Sequel::Model(@db[:items]))
- @p =lambda do
+ @p = proc do
@columns = [:id, :b, :y]
def columns; @columns; end
end
@c.instance_eval(&@p)
end