mirror of https://github.com/rails/rails
Re-enable railtie non_existent sqlite3 test from #51901
This commit is contained in:
parent
1b3fc3c82e
commit
e2adebef43
|
@ -2890,12 +2890,11 @@ module ApplicationTests
|
|||
assert_equal true, ActiveRecord::ConnectionAdapters::SQLite3Adapter.strict_strings_by_default
|
||||
|
||||
Post.lease_connection.create_table :posts
|
||||
_error = assert_raises(StandardError) do
|
||||
error = assert_raises(StandardError) do
|
||||
Post.lease_connection.add_index :posts, :non_existent
|
||||
end
|
||||
|
||||
# FIXME: Doesn't work in CI, bug when sprockets-rails is not required.
|
||||
# assert_match(/no such column: non_existent/, error.message)
|
||||
assert_match(/no such column: "?non_existent"?/, error.message)
|
||||
end
|
||||
|
||||
test "ActiveSupport::MessageEncryptor.use_authenticated_message_encryption is true by default for new apps" do
|
||||
|
|
Loading…
Reference in New Issue