Sha256: 29092668215913494a738511165973e717ca3cec03c4ca029be5cea1730e12bd
Contents?: true
Size: 692 Bytes
Versions: 1
Compression:
Stored size: 692 Bytes
Contents
# encoding: utf-8 require 'Context/Spec' require 'Context/Bridge' module Context::Spec::BridgeStory module Other module Special class Fun end class In end end end module Special class Fun end end class Fun end module Excluded class Sun end end describe Context::Bridge do it "should reference classes in the namespace provided" do bridge = Context::Bridge.new([Special, Other::Special]) bridge.Fun.should be(Special::Fun) bridge.In.should be(Other::Special::In) bridge.Sun.should_not be(Excluded::Sun) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jldrill-0.6.0.1 | spec/Context/Bridge_spec.rb |