diff --git a/activerecord/test/cases/fixtures_test.rb b/activerecord/test/cases/fixtures_test.rb index 67b37c81d9..bcff4b1180 100644 --- a/activerecord/test/cases/fixtures_test.rb +++ b/activerecord/test/cases/fixtures_test.rb @@ -32,7 +32,6 @@ require "models/task" require "models/topic" require "models/traffic_light" require "models/treasure" -require "tempfile" class FixturesTest < ActiveRecord::TestCase include ConnectionHelper diff --git a/activesupport/test/ordered_options_test.rb b/activesupport/test/ordered_options_test.rb index 75e39ec2a3..5743c5682b 100644 --- a/activesupport/test/ordered_options_test.rb +++ b/activesupport/test/ordered_options_test.rb @@ -41,9 +41,9 @@ class OrderedOptionsTest < ActiveSupport::TestCase a[:test_key] = 56 assert_equal 56, a.test_key - assert_equal 56, a['test_key'] + assert_equal 56, a["test_key"] assert_equal 56, a.dig(:test_key) - assert_equal 56, a.dig('test_key') + assert_equal 56, a.dig("test_key") end def test_method_access diff --git a/railties/test/commands/credentials_test.rb b/railties/test/commands/credentials_test.rb index 83bf8cac11..ffaef6eac3 100644 --- a/railties/test/commands/credentials_test.rb +++ b/railties/test/commands/credentials_test.rb @@ -5,7 +5,6 @@ require "env_helpers" require "rails/command" require "rails/commands/credentials/credentials_command" require "fileutils" -require "tempfile" class Rails::Command::CredentialsCommandTest < ActiveSupport::TestCase include ActiveSupport::Testing::Isolation, EnvHelpers