public
Description: Custom controller spec macros, with an included 'custom_scaffold' generator.
Clone URL: git://github.com/technoweenie/rspec_on_rails_on_crack.git
Search Repo:
Fixed typo
iownbey (author)
Wed Mar 26 19:20:34 -0700 2008
commit  674f21ecd97d8554f98fc96cdd78d3ae83394aa1
tree    64e8feb1a4d798b139bcc1c7f60ac8919a666737
parent  06bca8bc54d632d2cc7ea260ec956378a4af4594
...
157
158
159
160
 
161
162
163
...
157
158
159
 
160
161
162
163
0
@@ -157,7 +157,7 @@
0
     #
0
     # If there is no instance variable @foo, it will just check to see if its not nil:
0
     #
0
- # if_assigns :foo # => assigns[:foo].should_not be_nil (if @foo is not defined in spec)
0
+ # it_assigns :foo # => assigns[:foo].should_not be_nil (if @foo is not defined in spec)
0
     #
0
     # Check multiple instance variables
0
     #

Comments

    No one has commented yet.