From feaaa7576a0774471e36dc59730a886f623712e6 Mon Sep 17 00:00:00 2001 From: Genadi Samokovarov Date: Fri, 19 Apr 2019 13:49:56 +0900 Subject: Refactor after the most recent code review --- activesupport/test/actionable_error_test.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'activesupport/test') diff --git a/activesupport/test/actionable_error_test.rb b/activesupport/test/actionable_error_test.rb index fb2abf2bcf..63046b937c 100644 --- a/activesupport/test/actionable_error_test.rb +++ b/activesupport/test/actionable_error_test.rb @@ -37,12 +37,6 @@ class ActionableErrorTest < ActiveSupport::TestCase end end - test "dispatches actions from error class as string and name" do - assert_changes "DispatchableError.flip2", from: false, to: true do - ActiveSupport::ActionableError.dispatch DispatchableError.name, "Flip 2" - end - end - test "cannot dispatch missing actions" do err = assert_raises ActiveSupport::ActionableError::NonActionable do ActiveSupport::ActionableError.dispatch NonActionableError, "action" -- cgit v1.2.3