: rspec-users
>> Subject: Re: [rspec-users] Custom Example Groups
>>
>> So you probably want to wrap asset_recognizes and assert_generates in
>> custom matchers at that point:
>>
>> def with_method(verb) do |verb|
>> subject { {:path => description_args.firs
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> boun...@rubyforge.org] On Behalf Of David Chelimsky
> Sent: Sunday, April 19, 2009 10:03 AM
> To: rspec-users
> Subject: Re: [rspec-users] Custom Example Groups
>
> So y
On 19 Apr 2009, at 13:58, David Chelimsky wrote:
Also - you really don't need custom groups for this sort of thing,
because you can define with_method in a module and extend the
configuration w/ that module:
module WithMethod
def with_method(verb)
subject { send(verb, description_args
On Sun, Apr 19, 2009 at 8:50 AM, Brandon Olivares
wrote:
>
>
>> -Original Message-
>> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
>> boun...@rubyforge.org] On Behalf Of David Chelimsky
>> Sent: Sunday, April 19, 2009 8:59 AM
>> To: rspe
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> boun...@rubyforge.org] On Behalf Of David Chelimsky
> Sent: Sunday, April 19, 2009 8:59 AM
> To: rspec-users
> Subject: Re: [rspec-users] Custom Example Groups
>
> You should be
On Sun, Apr 19, 2009 at 9:32 AM, Brandon Olivares
wrote:
>
>
>> -Original Message-
>> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
>> boun...@rubyforge.org] On Behalf Of David Chelimsky
>> Sent: Sunday, April 19, 2009 8:05 AM
>> To: rspe
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> boun...@rubyforge.org] On Behalf Of David Chelimsky
> Sent: Sunday, April 19, 2009 8:05 AM
> To: rspec-users
> Subject: Re: [rspec-users] Custom Example Groups
>
> On Sun, Apr
On Sun, Apr 19, 2009 at 9:04 AM, Brandon Olivares
wrote:
>
>
>> -Original Message-
>> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
>> boun...@rubyforge.org] On Behalf Of Pat Maddox
>> Sent: Sunday, April 19, 2009 4:10 AM
>> To: rspe
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> boun...@rubyforge.org] On Behalf Of Pat Maddox
> Sent: Sunday, April 19, 2009 4:10 AM
> To: rspec-users
> Subject: Re: [rspec-users] Custom Example Groups
>
> Check out http
On Sun, Apr 19, 2009 at 5:10 AM, Pat Maddox wrote:
> Check out http://gist.github.com/97967 - top one is a custom example
> group, and bottom one is accessing an example's instance var from
> within a matcher.
I forked this and modified it a bit: http://gist.github.com/98041
This shows how to se
Check out http://gist.github.com/97967 - top one is a custom example
group, and bottom one is accessing an example's instance var from
within a matcher.
Pat
On Sat, Apr 18, 2009 at 11:31 PM, Brandon Olivares
wrote:
> Hi,
>
> I want to build a custom example group, but there really aren't any exa
11 matches
Mail list logo