test/unit/ns-options/namespace_test.rb in ns-options-0.3.1 vs test/unit/ns-options/namespace_test.rb in ns-options-0.4.0
- old
+ new
@@ -9,10 +9,13 @@
@namespace = NsOptions::Namespace.new(@key)
end
subject{ @namespace }
should have_accessors :metaclass, :options
- should have_instance_methods :option, :namespace, :required_set?, :define, :apply, :valid?
+ should have_instance_methods :option, :opt
+ should have_instance_methods :namespace, :ns
+ should have_instance_methods :required_set?, :valid?
+ should have_instance_methods :define, :apply
should have_instance_methods :to_hash, :each
should "have set it's metaclass accessor" do
assert subject.metaclass
end