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

Merge pull request #23939 from akshaymohite/fix-configuration-tests-semantics

Fixed semantics of couple of tests in the configuration_test.rb [ci skip]
This commit is contained in:
Sean Griffin 2016-03-07 09:47:26 -07:00
commit b4202fec9f

View file

@ -1337,7 +1337,7 @@ module ApplicationTests
assert_equal 'custom key', Rails.application.config.my_custom_config['key']
end
test "config_for use the Pathname object if it is provided" do
test "config_for uses the Pathname object if it is provided" do
app_file 'config/custom.yml', <<-RUBY
development:
key: 'custom key'
@ -1464,7 +1464,7 @@ module ApplicationTests
assert_equal :api, Rails.configuration.debug_exception_response_format
end
test "debug_exception_response_format can be override" do
test "debug_exception_response_format can be overriden" do
add_to_config <<-RUBY
config.api_only = true
RUBY