full changelog

  • Bug fixes
    • Support exclusion filters in DRb. (Yann Lugrin)
    • Fix –example escaping when run over DRb. (Elliot Winkler)
    • Use standard ANSI codes for color formatting so colors work in a wider set of color schemes.

5 Responses to “rspec-core-2.6.4 is released!”

  1. B Says:

    Hi David,

    In The RSpec Book, in Chapter 3, the RSpec test for the Mastermind Game, contains two examples. One ensures that “Welcome to Mastermind!” is printed on the screen, the other one ensures that “Enter guess:” is printed on the screen.

    However the order in which these messages are printed on the screen is not asserted in the examples, while it’s important.

    How can we ensure that the messages are printed in a specific order while keeping the examples focused and concise?

    Thanks in advance.

  2. David Chelimsky Says:

    That was in chapter 3 in a very early beta. Did you not get messages from the prags to update PDF?

  3. B Says:

    I hadn’t got it from prags. However last night I bought the updated version and looks like a lot has changed.

  4. B Says:

    Hi David,

    I had a look at the latest version of the book, which uses let to setup variables, etc. but it still does not ensure that the “Enter guess:” is printed after “Welcome to Mastermind”. Or I am wrong?

    Thanks in advance.

  5. David Chelimsky Says:

    Hey B - I took a peek back at it myself and it looks like you are correct. If you want to ensure order, just add .ordered at the end of the two expectations (see http://relishapp.com/rspec/rspec-mocks/v/2-6/dir/message-expectations).

Leave a Reply