From 0ebf45cf5d3119db3a3794df14a331f7bbea0e82 Mon Sep 17 00:00:00 2001 From: Marat Kazbekov Date: Thu, 18 Jul 2013 20:48:19 +0500 Subject: remove duplication in test --- activesupport/test/concern_test.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'activesupport/test') diff --git a/activesupport/test/concern_test.rb b/activesupport/test/concern_test.rb index 8e2c298fc6..9b0a2ff7c9 100644 --- a/activesupport/test/concern_test.rb +++ b/activesupport/test/concern_test.rb @@ -68,12 +68,6 @@ class ConcernTest < ActiveSupport::TestCase assert_equal ConcernTest::Baz::ClassMethods, (class << @klass; self.included_modules; end)[0] end - def test_instance_methods_are_included - @klass.send(:include, Baz) - assert_equal "baz", @klass.new.baz - assert @klass.included_modules.include?(ConcernTest::Baz) - end - def test_included_block_is_ran @klass.send(:include, Baz) assert_equal true, @klass.included_ran -- cgit v1.2.3