mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #11549 from dmathieu/test_duplication
Remove duplication in include test
This commit is contained in:
commit
891a573c75
1 changed files with 0 additions and 4 deletions
|
@ -56,10 +56,6 @@ class ConcernTest < ActiveSupport::TestCase
|
|||
@klass.send(:include, Baz)
|
||||
assert_equal "baz", @klass.new.baz
|
||||
assert @klass.included_modules.include?(ConcernTest::Baz)
|
||||
|
||||
@klass.send(:include, Baz)
|
||||
assert_equal "baz", @klass.new.baz
|
||||
assert @klass.included_modules.include?(ConcernTest::Baz)
|
||||
end
|
||||
|
||||
def test_class_methods_are_extended
|
||||
|
|
Loading…
Reference in a new issue