aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorMarat Kazbekov <maratvmk@gmail.com>2013-07-18 20:48:19 +0500
committerMarat Kazbekov <maratvmk@gmail.com>2013-07-18 20:48:19 +0500
commit0ebf45cf5d3119db3a3794df14a331f7bbea0e82 (patch)
treeabef62bb2bd24b03be1a4aaad608c5253fb48e89 /activesupport/test
parentebc5bdb8e728d236d4b6cdf4d26246dfd1d62899 (diff)
downloadrails-0ebf45cf5d3119db3a3794df14a331f7bbea0e82.tar.gz
rails-0ebf45cf5d3119db3a3794df14a331f7bbea0e82.tar.bz2
rails-0ebf45cf5d3119db3a3794df14a331f7bbea0e82.zip
remove duplication in test
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/concern_test.rb6
1 files changed, 0 insertions, 6 deletions
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