rspec-2.3.0 is released!
December 12th, 2010
rspec-core-2.3.0 / 2010-12-12
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
- tell autotest to use “rspec2″ if it sees a .rspec file in the project’s root directory
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
- Enhancements
- diff strings when include matcher fails (Mike Sassak)
rspec-mocks-2.3.0 / 2010-12-12
- 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
- Changes
- Generator no longer generates autotest/autodiscover.rb, as it is no longer needed (as of rspec-core-2.3.0)


December 14th, 2010 at 10:27 am
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?
December 14th, 2010 at 10:43 pm
@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.
December 15th, 2010 at 9:00 am
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
December 16th, 2010 at 9:12 am
@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.