Permalink
Browse files

Merge pull request #11492 from maratvmk/concern_test

remove duplication in concern_test
  • Loading branch information...
2 parents 8ab4656 + 0ebf45c commit 9267a7d9719edee9e8f04b83bc792b2b628ccb15 @senny senny committed Jul 18, 2013
Showing with 0 additions and 6 deletions.
  1. +0 −6 activesupport/test/concern_test.rb
@@ -68,12 +68,6 @@ def test_class_methods_are_extended
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

0 comments on commit 9267a7d

Please sign in to comment.