spec/namespace_spec.rb in rouge-lang-0.0.6 vs spec/namespace_spec.rb in rouge-lang-0.0.7
- old
+ new
@@ -44,10 +44,10 @@
describe "the refer method" do
it "should cause items in one namespace to be locatable from the other" do
abc = Rouge::Namespace.new :abc
xyz = Rouge::Namespace.new :xyz
- xyz.refer abc
+ xyz.refer(abc).should be xyz
abc.set_here :hello, :wow
xyz[:hello].deref.should eq :wow
end