aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorAkshay <akshaymohite31@yahoo.com>2016-02-12 15:23:37 +0530
committerAkshay <akshaymohite31@yahoo.com>2016-02-12 15:23:37 +0530
commit2d9b77494077da456f860792e9607ee3d5c25dc3 (patch)
treea9975c272021f3e4629360a97b073de084339df9 /railties/test
parentf709682697dd1654e4251e7c3db30e054910cccb (diff)
downloadrails-2d9b77494077da456f860792e9607ee3d5c25dc3.tar.gz
rails-2d9b77494077da456f860792e9607ee3d5c25dc3.tar.bz2
rails-2d9b77494077da456f860792e9607ee3d5c25dc3.zip
Correct config option from only_api to api_only in test
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/configuration_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb
index 7bcfc86d03..397c5a939d 100644
--- a/railties/test/application/configuration_test.rb
+++ b/railties/test/application/configuration_test.rb
@@ -1444,7 +1444,7 @@ module ApplicationTests
assert Rails.configuration.api_only
end
- test "debug_exception_response_format is :api by default if only_api is enabled" do
+ test "debug_exception_response_format is :api by default if api_only is enabled" do
add_to_config <<-RUBY
config.api_only = true
RUBY