rspec-2.3.0 is released!

December 12th, 2010

rspec-core-2.3.0 / 2010-12-12

full changelog

  • Enhancements

    • tell autotest to use “rspec2″ if it sees a .rspec file in the project’s root directory
      • replaces the need for ./autotest/discover.rb, which will not work with all versions of ZenTest and/or autotest
    • config.expect_with
      • :rspec # => rspec/expectations
      • :stdlib # => test/unit/assertions
      • :rspec, :stdlib # => both
  • Bug fixes

    • fix dev Gemfile to work on non-mac-os machines (Lake Denman)
    • ensure explicit subject is only eval’d once (Laszlo Bacsi)

rspec-expectations-2.3.0 / 2010-12-12

full changelog

  • Enhancements
    • diff strings when include matcher fails (Mike Sassak)

rspec-mocks-2.3.0 / 2010-12-12

full changelog

  • Bug fixes
    • Fix our Marshal extension so that it does not interfere with objects that have their own @mock_proxy instance variable. (Myron Marston)

rspec-rails-2.3.0 / 2010-12-12

full changelog

  • Changes
    • Generator no longer generates autotest/autodiscover.rb, as it is no longer needed (as of rspec-core-2.3.0)

4 Responses to “rspec-2.3.0 is released!”

  1. Jarmo Says:
    • tell autotest to use “rspec2″ if it sees a .rspec file in the project’s root directory

    Ok, but what if there isn’t any .rspec file in the project’s root directory because ~/.rspec is used instead? Does that mean that the discover.rb is still needed for these cases because i cannot just create an empty .rspec file due to the fact that then ~/.rspec isn’t used by rspec itself?

  2. David Chelimsky Says:

    @Jarmo - There is no conflict. RSpec reads in both ~/.rspec and ./.rspec and merges the result. If any one setting appears in both, the one in ./.rspec will take precedence, but that is a separate matter.

  3. Haftsh Berhe Says:

    Hello, rspec seems nice, but I can’t find anywhere on how to use this gem (as rails beginner)… may you please come up with clear details on how to use this gem before releasing lots of releases…?

    Good day

  4. David Chelimsky Says:

    @Haftsh - documentation is at http://relishapp.com/rspec (see http://relishapp.com/rspec/rspec-rails for rails-specific info).

    If there’s something you can’t figure out from the docs, the rspec-user’s mailing list is at http://rubyforge.org/mailman/listinfo/rspec-users.

Leave a Reply