Displaying 10 results from an estimated 10 matches for "rspec_generators".
Did you mean:
rspec_generator
2007 Mar 27
1
REST rspec_generator
Is there some reason that the rspec resource generator produces code
like this:
context "Routes for the AnimalsController should map" do
controller_name :animals
specify "{ :controller => ''animals'', :action => ''index'' } to /
animals" do
route_for(:controller => "animals", :action =>
2008 Jun 11
11
rspec and rspec-rails install hell
I am attending a training course covering rspec. I am using a MS WinXPpro SP3
machine. I have installed the cygwin environment. I am using git 1.5.4. I am
using ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] and rails 2.0.2
(albeit rails 2.1.0 is installed as well)
I had to install rspec-rails and rspec via git and as a gem.
Problem 1.
If one goes to the rspec.info website and links
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
2007 Jun 08
4
Still recommend the plugins over the gems?
> We strongly recommend you install RSpec and Spec::Rails as plugins
> (as opposed to relying on an RSpec gem). See special instructions
> below if you want to install the HEAD of the trunk, or an older
> version.
(from http://rspec.rubyforge.org/documentation/rails/install.html)
Is this still the case? Why?
Is the rspec_on_rails available in gem form?
Does rspec_generator
2006 Nov 22
1
rspec_on_rails (MissingSourceFile)
Hi there,
I''ve installed rspec, rails plugin & generators thusly:
$ sudo gem install rspec
$ sudo gem install rspec_generator
$ sudo gem install zentest -v 3.4.1
$ ./script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_2/vendor/rspec_on_rails/vendor/plugins/rspec
$ ./script/generate rspec
$ ./script/generate rspec_model ModelName
With Rails version:
$ rails
2006 Nov 22
0
rspec_on_rails MissingSourceFile
Hi there,
I''ve installed rspec, rails plugin & generators thusly:
$ sudo gem install rspec
$ sudo gem install rspec_generator
$ sudo gem install zentest -v 3.4.1
$ ./script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_2/vendor/rspec_on_rails/vendor/plugins/rspec
$ ./script/generate rspec
$ ./script/generate rspec_model ModelName
With Rails version:
$ rails
2006 Nov 24
0
rSpec REL_0_7_2 rspec_on_rails (MissingSourceFile) >> Fixed in trunk
Hi Aslak, Thanks for the help. That bug is fixed in trunk.
Here''s my path to recovery ...
$ svn co svn://rubyforge.org/var/svn/rspec/trunk ~/tmp/rspec
$ cd ~/tmp/rspec
$ rake gem
$ sudo gem install pkg/rspec-0.7.3.gem
$ ./script/plugin install --force svn://rubyforge.org/var/svn/rspec/trunk/vendor/rspec_on_rails/vendor/plugins/rspec
$ ./script/generate rspec (required to regenerate
2007 Dec 19
4
Questions on writing plugin for merb
Hey all,
I am looking to write a plugin for merb and have a few queries about
how to best go about it. I have a few questions (sorry if some are
very merb newbie ones):
- It seems all the plugins are gems; I can just add dependencies (my
plugin will require soap4r) as per any usual gem spec?
- If I want my plugin to add some new generate functionality? Is this
possible? If so, are there
2006 Jun 16
0
rake spec controller test output hideus.
Is there any way to change the output of rake spec fails?
The errors are just totally over the top ugly and not helpful. First
of all the ruby -Ilib line always comes before each test and I find it
distracting. But if an error occurs on something that is not nil it
just gives me the entire contents of that object and that is no small
matter when the object is a HTTP request response.
Here is
2008 Oct 10
16
rspec - undefined method `describe'' for main:Object
When i run a spec file i am getting the following error
D:\Diwakar\spec_diwa\spec\controllers>spec sandbox_controller_spec.rb
c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.5.15/lib/spec/api/sugar.rb:17:in
`method_
missing'': undefined method `describe'' for main:Object (NoMethodError)
from ./sandbox_controller_spec.rb:7
from