Methods
S
T
Instance Public methods
setup()
# File railties/test/configuration/middleware_stack_proxy_test.rb, line 10
def setup
  @stack = MiddlewareStackProxy.new
end
test_order()
# File railties/test/configuration/middleware_stack_proxy_test.rb, line 39
def test_order
  @stack.swap :foo
  @stack.delete :foo

  mock = Minitest::Mock.new
  mock.expect :send, nil, [:swap, :foo]
  mock.expect :send, nil, [:delete, :foo]

  @stack.merge_into mock
  mock.verify
end
test_playback_delete()
# File railties/test/configuration/middleware_stack_proxy_test.rb, line 34
def test_playback_delete
  @stack.delete :foo
  assert_playback :delete, :foo
end
test_playback_insert_after()
# File railties/test/configuration/middleware_stack_proxy_test.rb, line 19
def test_playback_insert_after
  @stack.insert_after :foo
  assert_playback :insert_after, :foo
end
test_playback_insert_before()
# File railties/test/configuration/middleware_stack_proxy_test.rb, line 14
def test_playback_insert_before
  @stack.insert_before :foo
  assert_playback :insert_before, :foo
end
test_playback_swap()
# File railties/test/configuration/middleware_stack_proxy_test.rb, line 24
def test_playback_swap
  @stack.swap :foo
  assert_playback :swap, :foo
end
test_playback_use()
# File railties/test/configuration/middleware_stack_proxy_test.rb, line 29
def test_playback_use
  @stack.use :foo
  assert_playback :use, :foo
end