File tree 1 file changed +2
-3
lines changed
railties/test/application
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2890,12 +2890,11 @@ class Post < ActiveRecord::Base
2890
2890
assert_equal true , ActiveRecord ::ConnectionAdapters ::SQLite3Adapter . strict_strings_by_default
2891
2891
2892
2892
Post . lease_connection . create_table :posts
2893
- _error = assert_raises ( StandardError ) do
2893
+ error = assert_raises ( StandardError ) do
2894
2894
Post . lease_connection . add_index :posts , :non_existent
2895
2895
end
2896
2896
2897
- # FIXME: Doesn't work in CI, bug when sprockets-rails is not required.
2898
- # assert_match(/no such column: non_existent/, error.message)
2897
+ assert_match ( /no such column: "?non_existent"?/ , error . message )
2899
2898
end
2900
2899
2901
2900
test "ActiveSupport::MessageEncryptor.use_authenticated_message_encryption is true by default for new apps" do
You can’t perform that action at this time.
0 commit comments