That was exactly what I needed, thanks a lot!
Glenn
On Nov 9, 2007, at 10:59 AM, Dan North wrote:
Hi Glenn.
On Nov 8, 2007 4:01 PM, Glenn Ford [EMAIL PROTECTED] wrote:
It seems that what I'm coming to understand of the direction of this
story concept is that there is a lot of emphasis being
I'd like to start gathering information/debating on the
advantages/disadvantages of using it should ... vs other techniques.
Dan North explained why we should use should:
http://dannorth.net/introducing-bdd/
I used to use it should ... for the projects I was on, until I was
challenged by a
I want to write below specs
specify The system allows users to import a pre-formatted CSV file into
project.
specify Each row in the spreadsheet is imported as one new Task.
specify The import WILL NOT update existing tasks.
specify If the import file has any records that fail due to
On Nov 11, 2007 7:47 PM, [EMAIL PROTECTED] wrote:
Hi,
I am usinh RoR w/ Oracle as my DB.
For one my example in spec I get 'block not supplied error:
Here is the sample code:
Engagements::Engagement.find(:first).project_id
I think this is a rails question - have you tried the rails
On Nov 12, 2007 11:39 AM, Brian Takita [EMAIL PROTECTED] wrote:
Here are the main reasons that I prefer an active voice because:
* using it should ... over and over renders should meaningless (I
have grown this barely conscience aversion to the word 'should')
* less less words are needed
*
On Nov 12, 2007 9:39 AM, Brian Takita [EMAIL PROTECTED] wrote:
I'd like to start gathering information/debating on the
advantages/disadvantages of using it should ... vs other techniques.
Dan North explained why we should use should:
http://dannorth.net/introducing-bdd/
I used to use it
Hey all,
What is the easiest way to include rpec's mocking framework into a story
so I can use it? I want to use it to stub out a Net::HTTP method so I'm
not making API calls every time I run my story. :)
Thanks,
Ben
___
rspec-users mailing list
On Nov 12, 2007 2:37 PM, Ben Mabey [EMAIL PROTECTED] wrote:
Just requiring the lib/specs/mocks.rb doesn't seem to do the trick...
Ben Mabey wrote:
Hey all,
What is the easiest way to include rpec's mocking framework into a story
so I can use it? I want to use it to stub out a Net::HTTP
On Nov 12, 2007 11:36 AM, KarniRevuri [EMAIL PROTECTED] wrote:
I want to write below specs
specify The system allows users to import a pre-formatted CSV file into
project.
specify Each row in the spreadsheet is imported as one new Task.
specify The import WILL NOT update existing tasks.
On Nov 12, 2007 1:51 PM, Kyle Hargraves [EMAIL PROTECTED] wrote:
On Nov 12, 2007 11:39 AM, Brian Takita [EMAIL PROTECTED] wrote:
Here are the main reasons that I prefer an active voice because:
* using it should ... over and over renders should meaningless (I
have grown this barely
Hi,
I have been reading the documentation and examples on the rspec site.
There are two patterns from Rails that I am not clear how to
implement that are kind of related, and so I am not sure how to start.
Does anyone have any examples of how to write rspecs for these?
1/ Nested resources.
2/
I'm going to flip some of your stuff around, and hopefully I arrive at a point.
On Nov 12, 2007 5:22 PM, David Chelimsky [EMAIL PROTECTED] wrote:
On Nov 12, 2007 1:51 PM, Kyle Hargraves [EMAIL PROTECTED] wrote:
and if I'm working in
a project that tends to use it, I'll stick with it. But in
On Nov 12, 2007 6:09 PM, Pat Maddox [EMAIL PROTECTED] wrote:
(btw, I think that because of that, specs != unit tests. They're very
similar, but I'll be so bold as to claim that there are no unit tests
in BDD)
To preempt any snarkiness... :)
Of course there are no unit tests in BDD, because
On Nov 12, 2007 10:47 PM, Pat Maddox [EMAIL PROTECTED] wrote:
On Nov 12, 2007 7:12 PM, David Chelimsky [EMAIL PROTECTED] wrote:
On Nov 12, 2007 9:03 PM, Pat Maddox [EMAIL PROTECTED] wrote:
On 11/12/07, David Chelimsky [EMAIL PROTECTED] wrote:
On Nov 12, 2007 8:09 PM, Pat Maddox
On Nov 12, 2007 9:00 PM, David Chelimsky [EMAIL PROTECTED] wrote:
On Nov 12, 2007 10:47 PM, Pat Maddox [EMAIL PROTECTED] wrote:
On Nov 12, 2007 7:12 PM, David Chelimsky [EMAIL PROTECTED] wrote:
On Nov 12, 2007 9:03 PM, Pat Maddox [EMAIL PROTECTED] wrote:
On 11/12/07, David
On Nov 12, 2007 9:01 PM, David Chelimsky [EMAIL PROTECTED] wrote:
On Nov 12, 2007 10:56 PM, Pat Maddox [EMAIL PROTECTED] wrote:
On Nov 12, 2007 8:47 PM, Pat Maddox [EMAIL PROTECTED] wrote:
On Nov 12, 2007 7:12 PM, David Chelimsky [EMAIL PROTECTED] wrote:
On Nov 12, 2007 9:03 PM, Pat
16 matches
Mail list logo