test/support/proxy.rb in ns-options-1.0.0 vs test/support/proxy.rb in ns-options-1.0.1
- old
+ new
@@ -8,22 +8,22 @@
def initialize(opts=nil)
super(opts)
end
- opt :value1
- opt :value2
+ opt :value1, String
+ opt :value2, Symbol
ns :more do
opt :other1
opt :other2
end
end
class SomeOtherThing < SomeThing; end
- opt :some, SomeThing, :default => { :value1 => 1 }
+ opt :some, SomeThing, :default => { :value1 => '1' }
opt :some_prime, SomeThing, :default => { :value1 => 'one' }
opt :stuff, :default => []
end