Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Expectations : help

Thread Tools

Expectations : help

Michel Demazure
Posts: n/a
This worked in previous Expectations releases :

def expect_true &block
expect(true, &block)

def expect_false &block
expect(false, &block)

but gives an error in the last release.
I'd like to understand...
Thanks in advance
Posted via

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nikon CoolPix 3100 failed expectations for battery latch lock Hong Ben Wu Digital Photography 10 04-23-2012 06:16 PM
Vista sales *double* expectations philo Computer Support 20 02-25-2007 11:31 PM
Expectations Dimage A200 Geir Digital Photography 2 12-14-2004 10:55 PM
Salary Expectations (UK) Simon Harris ASP .Net 1 10-16-2004 07:04 AM
Re: Software engineer : salary expectations ? Rats NZ Computing 5 09-12-2003 06:03 AM