[rspec-users] Trouble validating an exception

2009-02-04 Thread Ben Greenberg
Hi all, This spec always passes: lambda do process_card @credit_card, billing_info, 10604, '1.1.1.1', @gateway end.should raise_error(MinimalCart::CaptureFailureError) do |ex| ex.should be_nil ex.should_not be_nil ex.responses.should be_nil ex.responses.shou

[rspec-users] Trouble validating an exception

2009-02-02 Thread Ben Greenberg
Hi all, This spec always passes: lambda do process_card @credit_card, billing_info, 10604, '1.1.1.1', @gateway end.should raise_error(MinimalCart::CaptureFailureError) do |ex| ex.should be_nil ex.should_not be_nil ex.responses.should be_nil ex.responses.shou

[rspec-users] How to trace running spec

2008-01-13 Thread Ben Greenberg
Hey all, I have a spec that is hanging when it is running. How do I get the rspec runner to show what specs it's running so I can which one is hanging? I am calling the runner from my rails project. Thanks, Ben ___ rspec-users mailing list rspec-user

Re: [rspec-users] Installation Trouble

2007-12-19 Thread Ben Greenberg
Chad Humphries wrote: Also, could you post the spec if possible? - Chad On Dec 19, 2007, at 10:11 AM, David Chelimsky wrote: And you've got the following near the top of spec/spec_helper.rb? require 'spec' require 'spec/rails' ___ rspec-users ma

Re: [rspec-users] Installation Trouble

2007-12-19 Thread Ben Greenberg
David Chelimsky wrote: On Dec 19, 2007 7:31 AM, Ben Greenberg <[EMAIL PROTECTED]> wrote: Hey all, I'm new to BDD and rspec, but I am very intrigued. I tried installing rspec and rspec_on_rails into my Rails app, but I am having some trouble. I chose to install both as plug

[rspec-users] Installation Trouble

2007-12-19 Thread Ben Greenberg
Hey all, I'm new to BDD and rspec, but I am very intrigued. I tried installing rspec and rspec_on_rails into my Rails app, but I am having some trouble. I chose to install both as plugins, as the documentation suggests. I checked out the CURRENT tag from svn, and copied the rspec and rspec