aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2013-07-22 05:09:47 -0700
committerSantiago Pastorino <santiago@wyeworks.com>2013-07-22 05:09:47 -0700
commit891a573c759e6d3e71ac888107c271e32009eba7 (patch)
tree641a2b86a48c1cd9c51402ff20c4131efbd30ccc /activesupport
parente89d4d3a17cf8604b4b4a18bad56f15557b5faa2 (diff)
parent7aae4e5e667e9d38a8db81e452841319b7c89ace (diff)
downloadrails-891a573c759e6d3e71ac888107c271e32009eba7.tar.gz
rails-891a573c759e6d3e71ac888107c271e32009eba7.tar.bz2
rails-891a573c759e6d3e71ac888107c271e32009eba7.zip
Merge pull request #11549 from dmathieu/test_duplication
Remove duplication in include test
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/concern_test.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/test/concern_test.rb b/activesupport/test/concern_test.rb
index 9b0a2ff7c9..a74ee880b2 100644
--- a/activesupport/test/concern_test.rb
+++ b/activesupport/test/concern_test.rb
@@ -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