1
0
Fork 0
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:
Carlos Antonio da Silva 2013-04-10 04:31:51 -07:00
commit bb61d2defa

View file

@ -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