Displaying 20 results from an estimated 20000 matches similar to: "rspec crashes if any tests have failed - is this normal?"
2008 Mar 05
4
has_many_polymorphs is breaking my spec file
Hey folks
I have a bunch of classes that are polymorphs, with has_many_polymorphs
(they are all ''labellable'', which is similar to being ''taggable'' in the
acts_as_taggable scheme). I have a couple of modules,
LabellableInstanceMethods and LabellableClassMethods in a file called
labellable_methods.rb.
The classes all get labelled with
2008 Feb 06
1
RSpec 1.1.3 + ZenTest 3.9.1 + Rails 1.2.6 do NOT ignore folders ^vendor/*
Hi,
I just updated to the latest RSpec 1.1.3 + ZenTest 3.9.1.
I also have rspec 1.1.3 installed as a gem
When starting autotest with -v option, there is a lot of noise because
autotest does not ignore the vendor folder, the migrations, etc ...:
Dunno! vendor/plugins/acts_as_solr/solr/lib/jetty-util-6.1.3.jar
Dunno!
2006 Dec 23
2
Having trouble installing the Rails plugin with Rspec 0.7.5
Hi,
I''m running Rails 1.1.6 and just installed RSpec 0.7.5. When I try to
install the appropriate Rails plugin, it just says that "Export Complete"
and doesn''t install anything to vendor. I can do it with older version, but
then it''s not compatible with RSpec. Any ideas?
blissdev:~/code/rails/client/wordone > ruby script/plugin install
2007 Apr 13
3
rspec on rails won''t install
Hi:
This command:
svn co svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_0/rspec_on_rails/vendor/plugins/rspec_on_rail
Gives me this output:
svn: URL ''svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_0/rspec_on_rails/vendor/plugins/rspec_on_rails''
doesn''t exist
If I go the ''script/plugin install'' route, I get "Export complete."
Anybody know
2007 May 25
4
rspec on rails update question
I''m sure this is OT but I''d appreciate the help
I''m using rspec_on_rails
I prefer to use stable release rather than live dangerously (at least
until I can tell the difference between what I might be doing wrong
vs problems in rspec). However, I would like to try the
RspecScaffoldGenerator fix.
I installed (per the docs) last week with the following commands
2006 Dec 20
8
RSpec 0.7.5
The RSpec Development Team is pleased to announce the release of RSpec 0.7.5.
This release adds support for Heckle - Seattle''rb''s code mutation tool.
There are also several bug fixes to the RSpec core and the RSpec on
Rails plugin.
Changes: http://rspec.rubyforge.org/changes.html
Download: http://rubyforge.org/frs/?group_id=797
or
gem install rspec
Happy spec''ing,
2008 May 21
2
running rspec on 1.2.3 ??
Hi,
Anyone know how to run rspec on 1.2.3?
It fails out of the box....
I newly downloaded rspec, rspec_on_rails and ran the command
ruby script/generate rspec ==>>> Does this script work right?
from the instructions http://rspec.info/documentation/rails/install.html
I then created the directories in spec:
controllers, fixtures, helpers, models, views
I then created the
2007 Dec 11
5
RSpec TMbundle
I tried checking it out today using instructions here:
http://rspec.rubyforge.org/tools/extensions/editors/textmate.html
I get a ''svn: Connection closed unexpectedly''. Did it move or is it
down?
Nathan Sutton
fowlduck at gmail.com
rspec edge revision 3052
rspec_on_rails edge revision 3049
rails edge revision 8269
2008 May 09
3
rspec version to use with git
I want to start using RSpec in an existing project that uses git for
SCM, and I was planning on using git submodules to pull in known-stable
releases of the rspec and rspec_on_rails plugins. The current
repositories on github don''t seem to be set up to help with this at the
moment though, so I''m looking for some advice. Here''re the issues, I
think:
* The last
2007 Oct 22
1
installing rspec/rspec_on_rails as system wide generator (or similar)
Hi all,
What would be the best/easiest way of installing rspec as a system
wide generator so I''m not having to download it or ./script/plugin
install it every time?
Thanks,
Alastair
-----
Alastair Moore
Freelance web design, development and consultancy
t. 07983 983945
e. alastair at kozmo.co.uk
w. http://www.kozmo.co.uk
skype. alastair_kozmo
2007 May 02
13
RSpec 0.8.2 pain, missing spec/rails?
Hi. I''m upgrading a project from an 0.8.0 pre-release gem to 0.8.2.
I''ve installed the 0.8.2 gem, and the rspec_on_rails 0.8.2 plugin:
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_8_2/rspec
When I try to run my specs though, I get the below error. It''s as if the
spec_helper cannot find "spec/rails". I''ve noticed that
2007 Nov 13
2
new to rspec, error running "rake rspec" on debian/etch
I have the latest version of rspec and rails-rspec installed. I''m using
the debian versions of ruby and rails. On a new project after a
generate an "rspec_model" and then try to run "rake spec", I get the
following error:
dan at dan-server:~/projects/cw/registration$ rake spec
(in /home/dan/projects/cw/registration)
2007 Jun 20
2
Rspec for the svn-less
Here is a short bash script I wrote to install rspec if your just using
the tarballs like me. I probably should have written it in ruby, but
there it is:
#!/bin/bash
RSPEC=rspec-1.0.4-pre-release.tgz
RSPECRAILS=rspec_on_rails-1.0.4-pre-release.tgz
[ -z "$1" ] && {
echo
echo "You must include a pathname"
echo
exit 1
}
if [ -d $1/vendor/plugins ]; then
cd
2007 Aug 13
3
RSpec-1.0.8
The RSpec Development Team is pleased to announce the release of RSpec-1.0.8.
RSpec 1.0.6 is the "holy cow, batman, it''s been a long time since we
released and there are a ton of bug fixes, patches and even new
features" release. RSpec 1.0.7 and 1.0.8 deal with a regression
introduced in 1.0.6 and a hiccup in releasing 1.0.7, respectively.
== RSpec
RSpec is a Behaviour Driven
2007 Feb 23
1
Error on http://rspec.rubyforge.org/documentation/rails/install.html
One of the links to the subversion repository is wrong. Under the
heading which starts:
If your own project is in Subversion and you?d like RSpec on Rails to
always follow HEAD, install with -x:
the second link:
ruby script/plugin install -x svn://rubyforge.org/var/svn/rspec/trunk/
rspec_on_rails/vendor/plugin/rspec_on_rails
should be:
ruby script/plugin install -x
2007 May 15
5
Rspec + Oracle
Hi all.
Does anybody use Rspec with Oracle? I have RoR app + Oracle DB. I use
Rspec 0.9.4.
I have installed Rspec plugin and generated spec for model Country.
If I use "@countries = Country.new" in my spec I get
"ArgumentError in ''Country should be valid''
block not supplied
/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/kernel.rb:
12:in
2007 May 01
7
RSpec 0.9.1 released
The RSpec team is pleased to announce RSpec 0.9.1 (we skipped 0.9.0).
RSpec is a framework that provides programmers with a Domain Specific
Language to describe the behaviour of Ruby code with readable,
executable examples that guide you in the
design process and serve well as both documentation as tests.
This release includes a complete overhaul of the API, which can be
summarised as follows:
*
2008 Jan 21
6
Rspec 1.1.2 on Windows
I am using Rspec 1.1.2 on Windows XP SP2
I am receiving the following error when I run ''rake spec'' from a brand new
project:
C:/SVN_Projects/rspec/vendor/plugins/rspec/lib/spec/runner/options.rb:107:in
`colour='': You must gem install win32console to use colour on Windows
(RuntimeError)
I have the win32console gem installed and the error still occurs. It seems
that the
2007 Jul 01
1
rspec for the svn-less (ruby version)
A couple of things:
- it is defaulted to 1.0.5, but if there was a "current" I could
probably use that instead.
- it seems like everyone might not use the rspec_on_rails piece...what
do other think?
- there are some other checks I could put in here, suggestions are welcome.
- general code suggestions are welcome as well.
Mike B.
Here is my ruby version:
#!/usr/bin/ruby -w
2007 Dec 14
13
RSpec-1.1.0 is released
The RSpec Development Team is pleased as glug (that''s kind of like
punch, but more festive) to announce RSpec-1.1.0.
Thanks to all who have contributed patches over the last few months.
Big thanks to Dan North and Brian Takita for their important work on
this release. Dan contributed his rbehave framework which is now the
Story Runner. Brian patiently did a TON of refactoring around