1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Removed unwanted requires of and fixed rubocop errors

This commit is contained in:
Ghouse Mohamed 2022-03-10 01:19:55 +05:30
parent 44e5a31d85
commit 42b2869d06
3 changed files with 2 additions and 4 deletions

View file

@ -32,7 +32,6 @@ require "models/task"
require "models/topic" require "models/topic"
require "models/traffic_light" require "models/traffic_light"
require "models/treasure" require "models/treasure"
require "tempfile"
class FixturesTest < ActiveRecord::TestCase class FixturesTest < ActiveRecord::TestCase
include ConnectionHelper include ConnectionHelper

View file

@ -41,9 +41,9 @@ class OrderedOptionsTest < ActiveSupport::TestCase
a[:test_key] = 56 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["test_key"]
assert_equal 56, a.dig(:test_key) assert_equal 56, a.dig(:test_key)
assert_equal 56, a.dig('test_key') assert_equal 56, a.dig("test_key")
end end
def test_method_access def test_method_access

View file

@ -5,7 +5,6 @@ require "env_helpers"
require "rails/command" require "rails/command"
require "rails/commands/credentials/credentials_command" require "rails/commands/credentials/credentials_command"
require "fileutils" require "fileutils"
require "tempfile"
class Rails::Command::CredentialsCommandTest < ActiveSupport::TestCase class Rails::Command::CredentialsCommandTest < ActiveSupport::TestCase
include ActiveSupport::Testing::Isolation, EnvHelpers include ActiveSupport::Testing::Isolation, EnvHelpers