spec/extensions/query_literals_spec.rb in sequel-4.47.0 vs spec/extensions/query_literals_spec.rb in sequel-4.48.0
- old
+ new
@@ -1,9 +1,11 @@
require File.join(File.dirname(File.expand_path(__FILE__)), "spec_helper")
describe "query_literals extension" do
before do
- @ds = Sequel.mock.dataset.from(:t).extension(:query_literals)
+ deprecated do
+ @ds = Sequel.mock.dataset.from(:t).extension(:query_literals)
+ end
end
it "should not use special support if given a block" do
@ds.select('a, b, c'){d}.sql.must_equal 'SELECT \'a, b, c\', d FROM t'
end