Sent: Thursday, April 02, 2009 7:04 PM
> To: 'rspec-users'
> Subject: RE: [rspec-users] Problem with Custom matcher and Blocks
>
>
>
> > -Original Message-
> > From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> > boun...@rubyforge.org]
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> boun...@rubyforge.org] On Behalf Of Matt Wynne
> Sent: Thursday, April 02, 2009 6:04 PM
> To: rspec-users
> Subject: Re: [rspec-users] Problem with Custom matcher and Blocks
>
&
Hi again,
Well, I looked in the Webrat matchers code, and saw they also have a block
argument to the matches? Method, though I don't know why. So I copied what
they did there, and got a bit more informative output. Unfortunately now I
have more errors.
Before I continue, do you know why I have to
On 2 Apr 2009, at 22:21, Zach Dennis wrote:
Matt, can you say where you gauge your app?
- Are there many little scenarios covering the details of the page?
- Are the scenarios comprised of many steps which look at all aspects
of the page?
- Are the step definitions detail oriented? e.g.: lookin
On 2 Apr 2009, at 22:20, Brandon Olivares wrote:
Hi,
-Original Message-
From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
boun...@rubyforge.org] On Behalf Of Matt Wynne
Sent: Thursday, April 02, 2009 3:55 PM
To: rspec-users
Subject: Re: [rspec-users] Problem with Custom
Hi,
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> boun...@rubyforge.org] On Behalf Of Matt Wynne
> Sent: Thursday, April 02, 2009 3:55 PM
> To: rspec-users
> Subject: Re: [rspec-users] Problem with Custom matcher and Blocks
>
&
On Thu, Apr 2, 2009 at 3:55 PM, Matt Wynne wrote:
>
> On 2 Apr 2009, at 02:25, Brandon Olivares wrote:
>
>> Hi,
>>
>> I'm trying to write my first custom matcher.
>>
>> Here's a bit of my example group.
>>
>> describe "/contact/index" do
>> include FormMatchers
>>
>> before(:each) do
>> render
On 2 Apr 2009, at 02:25, Brandon Olivares wrote:
Hi,
I'm trying to write my first custom matcher.
Here's a bit of my example group.
describe "/contact/index" do
include FormMatchers
before(:each) do
render 'contact/index'
end
it "should show the contact form" do
response.should h