Hey all,
Just a heads up that the ZenTest-3.9.0 release is not compatible with
RSpec-1.1.2. I thought I had a release ready to go, but differences
between a preview release of ZenTest that I received and the actual
release seem to have broken compatibility.
We'll get this resolved soon, but in
Good to know. Thanx David
On Jan 31, 2008 11:25 AM, David Chelimsky [EMAIL PROTECTED] wrote:
Hey all,
Just a heads up that the ZenTest-3.9.0 release is not compatible with
RSpec-1.1.2. I thought I had a release ready to go, but differences
between a preview release of ZenTest that I
On Jan 31, 2008 9:19 AM, David Chelimsky [EMAIL PROTECTED] wrote:
This is resolved with the RSpece-1.1.3 release which went out early
this morning.
So early that I can't spell :)
On Jan 31, 2008 5:25 AM, David Chelimsky [EMAIL PROTECTED] wrote:
Hey all,
Just a heads up that the
I realise that this is kind of a basic question but I'm new to rspec and
still trying to work out how to do things. I'm working on a rails project
that requires basecamp integration via the api, which is fairly trivial to
use via the basecamp.rb wrapper:
Connection:
basecamp =
This is resolved with the RSpece-1.1.3 release which went out early
this morning.
On Jan 31, 2008 5:25 AM, David Chelimsky [EMAIL PROTECTED] wrote:
Hey all,
Just a heads up that the ZenTest-3.9.0 release is not compatible with
RSpec-1.1.2. I thought I had a release ready to go, but
basecamp = mock(basecamp api,;projects = whatever you expect to
get from the projects call)
Basecamp.stub!(:new).and_return(basecamp)
So for the projects one, you could return an array, or a bunch of
mocks, or a string. Just make it match how the Basecamp API is behaving.
On Jan 31, 2008,
Thanks, your blog post was very helpful. I've got autotest working in my
plugin. One hurdle I had to jump was that the new autotest defines an
exception for vendor/plugins by default. So you can sit and define mappings
all day and never get any results because the whole plugins directory is not
How do you load fixtures from specs as you would test?
eg. rake db:fixtures:load RAILS_ENV=development
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Do you want to load them in your controller? You can put
class MyController
fixtures :fixturename
end
-Corey
On Jan 31, 2008 5:52 PM, Andrew WC Brown [EMAIL PROTECTED] wrote:
How do you load fixtures from specs as you would test?
eg. rake db:fixtures:load RAILS_ENV=development