Expectations : help

Discussion in 'Ruby' started by Michel Demazure, Sep 9, 2008.

  1. This worked in previous Expectations releases :

    def expect_true &block
    expect(true, &block)
    end

    def expect_false &block
    expect(false, &block)
    end

    but gives an error in the last release.
    I'd like to understand...
    Thanks in advance
    --
    Posted via http://www.ruby-forum.com/.
    Michel Demazure, Sep 9, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?dHJlbGxvdzQyMg==?=

    HELP! HELP! HELP! Opening Web Application Project Error

    =?Utf-8?B?dHJlbGxvdzQyMg==?=, Feb 20, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    742
    =?Utf-8?B?dHJlbGxvdzQyMg==?=
    Feb 20, 2004
  2. Harvey
    Replies:
    0
    Views:
    667
    Harvey
    Jul 16, 2004
  3. Simon Harris

    Salary Expectations (UK)

    Simon Harris, Oct 15, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,620
    Mark Rae
    Oct 16, 2004
  4. Mauricio Fernandez
    Replies:
    1
    Views:
    143
    Peña, Botp
    Oct 16, 2006
  5. Michel Demazure

    strange Expectations answer

    Michel Demazure, Apr 18, 2008, in forum: Ruby
    Replies:
    2
    Views:
    67
    Michel Demazure
    Apr 18, 2008
Loading...

Share This Page