Merge pull request #44043 from yahonda/follow_up_43993_43296
SQLite3Adapter supports default function since #43993
This commit is contained in:
commit
2bfcd8b025
|
@ -941,7 +941,6 @@ class DirtyTest < ActiveRecord::TestCase
|
|||
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 @@ class DirtyTest < ActiveRecord::TestCase
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue