Permalink
Browse files

remove duplication in test

  • Loading branch information...
1 parent ebc5bdb commit 0ebf45cf5d3119db3a3794df14a331f7bbea0e82 @maratvmk maratvmk 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 0ebf45c

Please sign in to comment.