diff options
author | Sharang Dashputre <sharang.d@gmail.com> | 2019-03-25 12:44:51 +0530 |
---|---|---|
committer | Sharang Dashputre <sharang.d@gmail.com> | 2019-03-25 12:44:51 +0530 |
commit | 51171413bba00ab83ba3d74cc98995bc1a2842b0 (patch) | |
tree | 95f8a51e1cf3ee8946cedd06d5fc8cf1fa99fa82 /railties/test | |
parent | 6a5c8b91998c56e50b5cc934d968947cd319f735 (diff) | |
download | rails-51171413bba00ab83ba3d74cc98995bc1a2842b0.tar.gz rails-51171413bba00ab83ba3d74cc98995bc1a2842b0.tar.bz2 rails-51171413bba00ab83ba3d74cc98995bc1a2842b0.zip |
Reword test names in credentials_test.rb
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/commands/credentials_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/test/commands/credentials_test.rb b/railties/test/commands/credentials_test.rb index 2f2c50de6c..0ee36081c0 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 properly expand environment option" do + test "edit command properly expands environment option" do assert_match(/access_key_id: 123/, run_edit_command(environment: "prod")) Dir.chdir(app_path) do assert File.exist?("config/credentials/production.key") @@ -79,7 +79,7 @@ class Rails::Command::CredentialsCommandTest < ActiveSupport::TestCase assert_match(/access_key_id: 123/, run_edit_command(environment: "qa")) end - test "edit command generate template file when the file does not exist" do + test "edit command generates template file when the file does not exist" do FileUtils.rm("#{app_path}/config/credentials.yml.enc") run_edit_command @@ -92,7 +92,7 @@ class Rails::Command::CredentialsCommandTest < ActiveSupport::TestCase assert_match(/access_key_id: 123/, run_show_command) end - test "show command raise error when require_master_key is specified and key does not exist" do + test "show command raises error when require_master_key is specified and key does not exist" do remove_file "config/master.key" add_to_config "config.require_master_key = true" @@ -112,7 +112,7 @@ class Rails::Command::CredentialsCommandTest < ActiveSupport::TestCase assert_match(/access_key_id: 123/, run_show_command(environment: "production")) end - test "show command properly expand environment option" do + test "show command properly expands environment option" do run_edit_command(environment: "production") output = run_show_command(environment: "prod") |