test/argument_inspector_test.rb in boson-0.2.2 vs test/argument_inspector_test.rb in boson-0.2.3
- old
+ new
@@ -29,10 +29,10 @@
# methods need options to have their args parsed with ArgumentInspector
string.gsub!(/(def blah)/, 'options :a=>1; \1')
Inspector.enable
::Boson::Commands::Aaa.module_eval(string)
Inspector.disable
- MethodInspector.store[:method_args]['blah']
+ MethodInspector.store[:args]['blah']
end
before(:all) { eval "module ::Boson::Commands::Aaa; end"; }
before(:each) { MethodInspector.mod_store[::Boson::Commands::Aaa] = {} }
\ No newline at end of file