mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #10162 from choudhuryanupam/fix_activesupport_test
Removed unused setup
This commit is contained in:
commit
bb61d2defa
1 changed files with 0 additions and 2 deletions
|
@ -109,7 +109,6 @@ class BasicCallbacksTest < ActiveSupport::TestCase
|
||||||
@index = GrandParent.new("index").dispatch
|
@index = GrandParent.new("index").dispatch
|
||||||
@update = GrandParent.new("update").dispatch
|
@update = GrandParent.new("update").dispatch
|
||||||
@delete = GrandParent.new("delete").dispatch
|
@delete = GrandParent.new("delete").dispatch
|
||||||
@unknown = GrandParent.new("unknown").dispatch
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_basic_conditional_callback1
|
def test_basic_conditional_callback1
|
||||||
|
@ -130,7 +129,6 @@ class InheritedCallbacksTest < ActiveSupport::TestCase
|
||||||
@index = Parent.new("index").dispatch
|
@index = Parent.new("index").dispatch
|
||||||
@update = Parent.new("update").dispatch
|
@update = Parent.new("update").dispatch
|
||||||
@delete = Parent.new("delete").dispatch
|
@delete = Parent.new("delete").dispatch
|
||||||
@unknown = Parent.new("unknown").dispatch
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_inherited_excluded
|
def test_inherited_excluded
|
||||||
|
|
Loading…
Reference in a new issue