Skip to content

Commit 9b502a4

Browse files
committed
changing tests name to support new default adapter
1 parent 738894e commit 9b502a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/action_controller/adapter_selector_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module ActionController
44
module Serialization
55
class AdapterSelectorTest < ActionController::TestCase
66
class MyController < ActionController::Base
7-
def render_using_default_adapter
7+
def render_using_the_initializer_defined_adapter
88
@profile = Profile.new({ name: 'Name 1', description: 'Description 1', comments: 'Comments 1' })
99
render json: @profile
1010
end
@@ -23,7 +23,7 @@ def render_skipping_adapter
2323
tests MyController
2424

2525
def test_render_using_default_adapter
26-
get :render_using_default_adapter
26+
get :render_using_the_initializer_defined_adapter
2727
assert_equal '{"name":"Name 1","description":"Description 1"}', response.body
2828
end
2929

0 commit comments

Comments
 (0)