Sha256: b1bad864d4b2c3d68b76865a37be926d1c3ae908ceedf5b0a812f2b9d9a282f2
Contents?: true
Size: 549 Bytes
Versions: 2
Compression:
Stored size: 549 Bytes
Contents
require "test_belt" require 'fixtures/inherited_stuff' module TestBelt::Utils class Test < Test::Unit::TestCase include TestBelt context "the util" subject { Utils } should have_instance_method :local_public_instance_methods end class LocalMethodsTest < Test context "'local_public_instance_methods'" should "fine a class's local public instance methods" do assert_equal( ["subclass_stuff", "mixin_stuff"].sort, subject.local_public_instance_methods(SubStuff).sort ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
test-belt-2.0.1 | test/utils_test.rb |
test-belt-2.0.0 | test/utils_test.rb |