Displaying 20 results from an estimated 5000 matches similar to: "drbspec - "no server running""
2007 Feb 28
2
Fixture name not available as class variable in spec
Hi there,
I can''t seem to access the fixture name as a class variable from my
specs. I have to set the variable in the spec setup.
... [fixtures]
my_fixture:
id: 1
... [rpsec]
@my_fixture.id.should == 1
... [error]
You have a nil object when you didn''t expect it!
The error occurred while evaluating nil.id
... [my setup]
RSpec-0.7.5.1 (r1395) - BDD for Ruby
Rails
2007 Jan 19
3
problems updating to 0.7.5.1
Hi all
I''ve upgraded the rails plugin from 0.7.5 to 0.7.5.1 (plugin/remove
rspec_on_rails followed by :
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_5_1/rspec_on_rails/vendor/plugins/rspec_on_rails
I''ve also updated the rspec gem and removed the older version. I''m running
rubygems 0.9.1 on a windows box
however, when I try to run a spec
2007 Feb 18
3
[0.8.0-RC1] problem with drbspec
I''m getting the following error with version 0.8.0 (I updated the gem and the
rails plugin, and re-ran generate/rspec):
c:\wd\clarks>drbspec spec/models/user_spec.rb
c:/ruby/bin/drbspec:16:in `load'': no such file to load -- drbspec
(LoadError)
from c:/ruby/bin/drbspec:16
the same command works fine under 0.7.5.1. Windows XP, rails 1.2.2 and
rubygems 0.9.1
--
View
2007 Feb 23
5
rspec on rails 0 7 5 1
Hi there,
I can''t upgrade rspec on rails to 0.7.5.1. I followed the install guide
on the website without sucsess. Here''s my env info:
$ rails -v
Rails 1.2.2
$ gem -v
0.9.2
$ spec -v
RSpec-0.7.5.1 (r1395) - BDD for Ruby
http://rspec.rubyforge.org/
$ spec ...
<snip>
############################################################################
Your RSpec on Rails plugin
2007 Jan 22
1
Observed models cause failures with DRBSpec ?
Hi all !
I don''t believe I am the only one using model observers, right ?
Well, here''s a nice one:
$ drbspec spec
.
Finished in 0.125322 seconds
1 specification, 0 failures
$ drbspec spec
F
1)
''A user with an inactive and an active project should be able to
return active projects only'' FAILED
[] should == [#<Spec::Mocks::Mock:0xb75590bc
2007 Feb 27
8
Using a subversion repository to spec in a rails app
Is it a bad practice to use a subversion repository to the trunk of
rspec and rspec_on_rails? Or rather, is it doomed to fail, since my
gem will always be out of date?
I know I can''t use spec, installed from gem,s if I have the latest
revision of rspec and rspec_on_rails checked into my plugins
directory. But I should still be able to use it with the --drb
option, correct?
2007 Mar 01
1
Problems with RC1 & Rails Controllers
I''m now using the 0.8.0 RC1 gem and have the same version of rspec
and rspec_on_rails checked out into my vendor/plugins directory.
I''m having a problems with controllers... I''ve generated a controller
using the ./script/generate rspec_controller MyController. When I
try to run the rake spec:controller task I get the following:
euclid% rake spec:controllers
(in
2007 Apr 09
10
changes in 0.8 and greater - should_
Has the should_... syntax changed? I''m getting errors when running
the following:
should_render(:index)
should_be_valid
should_not_be_valid
should_respond_to
should_be
should_render
I thought the syntax changed to something like the following:
obj.should render(:index)
but this doesn''t seem to work.
Scott
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
2007 May 11
3
rubyforge svn access
Is anyone else having intermittent svn access with rspec?
Occasionally I''m getting:
euclid% svn update
svn: Connection closed unexpectedly
Scott
2007 Sep 05
6
Caveman Questions
Hello!
I''m just a caveman with some caveman questions.
I''ve been parsing Rspec for quite a while, and I''m writing my first series
of specs. My initial impressions are "Verbose, but understandable. Helpful
and intuitive, but so much to digest." I want to congratulate the folks who
are dedicating a chunk of their lives to writing this, and ask 2 caveman
2007 Mar 27
10
sqlite3 and rspec_on_rails tests
As I think I previously mentioned, there is an incompatibility with
rails 1.2.1 and sqlite3 3.3.8.
see: http://weblog.rubyonrails.org/2007/1/29/using-sqlite3-with-rails
and: http://weblog.rubyonrails.org/2007/2/6/rails-1-2-2-sqlite3-gems-
singular-resources
Sqlite is now at 3.3.13.
Because of this, if a developer is trying to create a patch for
rspec_on_rails, he will have one of the
2007 May 07
7
Installing plugins without svn:// access
Hi,
I''m trying to get up and running with rspec on a new project. I''d like to
install the rspec and rspec_on_rails plugins (per
http://rspec.rubyforge.org/documentation/rails/install.html), but my
corporate firewall blocks port 3690 so I can''t access the repository via
svn://
I searched the docs and the mailing-list archive to figure out how to
install the plugins
2007 Nov 29
4
Rollbacks, Sqlite3 bug. Has this been reintroduced ?
Hey,
I just updated from the edge and it looks like this _issue_ has resurfaced.
Yesterday things were working (stories and specs).
No code base changes, only rspec and rspec_on_rails
After updating today I now need to set <config.txn...fixtures> to false in
the spec_helper.rb
to get the specs running, the stories are fine. Looks like the fixture
loading is trying to start a txn.
I
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
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
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 Jun 23
6
Autotest bug with rerunning passing tests?
Am I correct in remembering that autotest (with Test::Unit) would
rerun all the tests if a subset of the tests passed? If so,
shouldn''t this behaviour also be present in rspec''s autotest library?
Scott
2007 Apr 01
11
--color doesn''t work with --drb w/rspec_autotest
If I got this to work, do you think we could/should check in
rspec_autotest into rspec?
I''ve updated rspec_autotest abit, so let me know if you''d like the
modified code.
Scott