aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/commands
diff options
context:
space:
mode:
authoralkesh26 <alkesh26@gmail.com>2019-02-01 16:42:40 +0530
committeralkesh26 <alkesh26@gmail.com>2019-02-01 16:42:40 +0530
commit79c3cef444bf783e15f6b3928e69d53fcf933acf (patch)
treeea10a1949bae7076ed5a98fcb6d1340483d81579 /railties/test/commands
parenta57f4defa7cc2b2b8d99ef6d2c4c22efe9fac59e (diff)
downloadrails-79c3cef444bf783e15f6b3928e69d53fcf933acf.tar.gz
rails-79c3cef444bf783e15f6b3928e69d53fcf933acf.tar.bz2
rails-79c3cef444bf783e15f6b3928e69d53fcf933acf.zip
Railities typo fixes.
Diffstat (limited to 'railties/test/commands')
-rw-r--r--railties/test/commands/credentials_test.rb2
-rw-r--r--railties/test/commands/dbconsole_test.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/commands/credentials_test.rb b/railties/test/commands/credentials_test.rb
index 26ffe3070c..10d0ba1cae 100644
--- a/railties/test/commands/credentials_test.rb
+++ b/railties/test/commands/credentials_test.rb
@@ -63,7 +63,7 @@ class Rails::Command::CredentialsCommandTest < ActiveSupport::TestCase
end
end
- test "edit command does not raise when an initializer tries to acces non-existent credentials" do
+ test "edit command does not raise when an initializer tries to access non-existent credentials" do
app_file "config/initializers/raise_when_loaded.rb", <<-RUBY
Rails.application.credentials.missing_key!
RUBY
diff --git a/railties/test/commands/dbconsole_test.rb b/railties/test/commands/dbconsole_test.rb
index adb168f7a3..65f6916acb 100644
--- a/railties/test/commands/dbconsole_test.rb
+++ b/railties/test/commands/dbconsole_test.rb
@@ -112,9 +112,9 @@ class Rails::DBConsoleTest < ActiveSupport::TestCase
end
def test_mysql_full
- start(adapter: "mysql2", database: "db", host: "locahost", port: 1234, socket: "socket", username: "user", password: "qwerty", encoding: "UTF-8")
+ start(adapter: "mysql2", database: "db", host: "localhost", port: 1234, socket: "socket", username: "user", password: "qwerty", encoding: "UTF-8")
assert_not aborted
- assert_equal [%w[mysql mysql5], "--host=locahost", "--port=1234", "--socket=socket", "--user=user", "--default-character-set=UTF-8", "-p", "db"], dbconsole.find_cmd_and_exec_args
+ assert_equal [%w[mysql mysql5], "--host=localhost", "--port=1234", "--socket=socket", "--user=user", "--default-character-set=UTF-8", "-p", "db"], dbconsole.find_cmd_and_exec_args
end
def test_mysql_include_password