Sha256: 38e20c77ef916c4329705593c68f11454cec0dcb2c2f6356281437b6ce8937f5
Contents?: true
Size: 302 Bytes
Versions: 4
Compression:
Stored size: 302 Bytes
Contents
require 'helper' module Coupler class TestModels < Coupler::Test::UnitTest def test_lazy_loading_accepts_strings assert_nothing_raised do # This happens because Forgery calls const_missing directly with a string Models.const_missing("Resource") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
coupler-0.0.4-java | test/unit/test_models.rb |
coupler-0.0.3-java | test/unit/test_models.rb |
coupler-0.0.2-java | test/unit/test_models.rb |
coupler-0.0.1-java | test/unit/test_models.rb |