summaryrefslogtreecommitdiff
path: root/test/support/api_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/support/api_controller_test.rb')
-rw-r--r--test/support/api_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/support/api_controller_test.rb b/test/support/api_controller_test.rb
index 06cb46a..97d86fc 100644
--- a/test/support/api_controller_test.rb
+++ b/test/support/api_controller_test.rb
@@ -17,7 +17,7 @@ class ApiControllerTest < ActionController::TestCase
end
def add_api_defaults(args)
- add_defaults args, version: '2'
+ add_defaults args, version: '2', format: :json
end
def add_defaults(args, defaults)