spec/adapters/sqlite_spec.rb in sequel-4.40.0 vs spec/adapters/sqlite_spec.rb in sequel-4.41.0
- old
+ new
@@ -455,12 +455,10 @@
it "should support #explain" do
DB[:test].explain.must_be_kind_of(String)
end
it "should have #explain work when identifier_output_method is modified" do
- ds = DB[:test]
- ds.identifier_output_method = :upcase
- ds.explain.must_be_kind_of(String)
+ DB[:test].with_identifier_output_method(:upcase).explain.must_be_kind_of(String)
end
end
describe "A SQLite database" do
before do