SQLite3Adapter supports default function since #43993

then no need to skip tests added via #43296

Related
https://github.com/rails/rails/pull/43296
https://github.com/rails/rails/pull/43993
This commit is contained in:
Yasuo Honda 2022-01-02 12:55:53 +09:00
parent 8b29524a38
commit 6a013cf5e7

@ -941,7 +941,6 @@ def check_around
assert_not_predicate person, :changed?
end
unless current_adapter?(:SQLite3Adapter)
test "partial insert off with unchanged default function attribute" do
with_partial_writes Aircraft, false do
aircraft = Aircraft.new(name: "Boeing")
@ -971,7 +970,6 @@ def check_around
assert_equal manufactured_at.utc.strftime("%Y-%m-%d %H:%M:%S"), aircraft.manufactured_at.strftime("%Y-%m-%d %H:%M:%S")
end
end
end
private
def with_partial_writes(klass, on = true)