search for: rspec_resource_generator

Displaying 3 results from an estimated 3 matches for "rspec_resource_generator".

2006 Nov 03
10
[PLUGIN] rspec_resource_generator - RESTful scaffold generator with RSpec specifications
rspec_resource_generator ======================== By Pat Maddox Use this generator to generate RESTful scaffolding with RSpec specifications. Syntax is exactly the same as the scaffold_resource generator: ./script/generate rspec_resource ModelName [field:type field:type] When you run this generator, it will create a mi...
2007 May 22
5
rails edge
hi, first time trying rspec, and rails edge. Are there any known issues running rspec with rails edge? for one, apparently script/generate scaffold_resource has been renamed just "resource". Do I just search/replace "scaffold_resource" with "resource" in file rspec_resource_generator.rb ? Somethings still missing. before i get "Couldn''t find ''scaffold_resource'' generator" after the edit i get "No such file or directory - [myprojectpath]/vendor/rails/railties/ lib/rails_generator/generators/components/resource/templates/ view_inde...
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 plugi...