Displaying 3 results from an estimated 3 matches for "ivarproxi".
Did you mean:
ivarproxy
2006 Nov 21
1
assigns in trunk
Hello,
I used the rspec_resource_generator to generate a set of specs, which
produces quite a few specs that contain something like:
assigns(:customer).should == @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/
2007 Apr 05
3
Extending assigns in controller specs?
Hello,
I am interested in enhancing assigns in controller specs to do
things like the following
assigns[:key1, :key2, :key3] #=> vals for keys
Is there away to "break open" this construction to overload the :[] operator?
Thanks.
-Chris
2007 Apr 13
0
ANN 0.9-beta-2
I''ve just made a new beta release available that fixes some more bugs
to the translator.
http://www.nabble.com/ANN:-RSpec-0.9.0-beta-1-available-for-download.-t3526973.html
Additional changes since 0.9 beta-1:
* Made Spec::Ui *much* easier to install. It will be released
separately. Check out trunk/spec_ui/examples
* HTML reports now include a syntax highlighted snippet of the source