Sha256: 09ff1f044fe0eecfde35258a701a3bef18e00c497206d3357f95d8d7eff65e18
Contents?: true
Size: 290 Bytes
Versions: 3
Compression:
Stored size: 290 Bytes
Contents
require 'test_helper' module Mirrors class ObjectMirrorTest < MiniTest::Test def setup @o = ObjectFixture.new @m = Mirrors.reflect(@o) super end def test_variables vars = @m.variables assert_equal(["@ivar"], vars.map(&:name)) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mirrors-0.0.3 | test/mirrors/object_mirror_test.rb |
mirrors-0.0.2 | test/mirrors/object_mirror_test.rb |
mirrors-0.0.1 | test/mirrors/object_mirror_test.rb |