search for: ivar_proxy

Displaying 1 result from an estimated 1 matches for "ivar_proxy".

Did you mean: imap_proxy
2006 Nov 21
1
assigns in trunk
...d == @customer running this gives the error: wrong number of arguments (1 for 0) ./spec/controllers/customers_controller_spec.rb:23:in `assigns'' In the rspec rails plugin trunk (revision 1126), in /lib/spec/rails/ context/controller.rb, assigns is defined as: def assigns @ivar_proxy ||= Spec::Rails::IvarProxy.new @controller end whereas if i get the tagged version for 0_7_2 it was defined thus: def assigns(key=nil) return assigns[key] unless key.nil? @ivar_proxy ||= Test::Rails::IvarProxy.new(controller) end So, if I change the code in my spec to...