Forum: RSpec [ANN] rspec 1.2.5 Released

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
David C. (Guest)
on 2009-04-30 07:56
(Received via mailing list)
rspec version 1.2.5 has been released!

* <http://rspec.info>
* <http://rubyforge.org/projects/rspec>
* <http://github.com/dchelimsky/rspec/wikis>
* <removed_email_address@domain.invalid>

Behaviour Driven Development for Ruby.

Changes:

### Version 1.2.5 / 2009-04-29

* enhancements

  * name argument to mock/stub is now optional (closes #782)
    * you can do mock(:foo => "woo", :bar => "car")
  * expect { this_block }.to
change{this.expression}.from(old_value).to(new_value)
  * expect { this_block }.to raise_error
  * better failiure messages for equal matcher (James B.). Closes
#804.
  * add stub_chain method
    * also alias_method :stub, :stub!, so you can stub with less bang
  * added options to example_group_proxy

* bug fixes

  * ensure correct handling of ordered message expectations with
duplicate
    expectations (NigelThorne). Closes #793.
  * get matcher backwards compat working w/ ruby 19
  * don't define instance_exec unless it is not defined
    * was doing a version check, but turns out that didn't cover
alternative
      implementations like JRuby
  * fix bug where in some circumstances, loading
lib/spec/interop/test.rb
    raised an error (tsechingho). Closes #803.
  * make sure specs only run against spec server when using drb (patch
from Chuck Grindel). Closes #797.
  * remove deprecation warning in example_pending when using
FailingExamplesFormatter. Closes #794.
  * Access explicit subject from nested groups of arbitrary depth.
Closes #756.

* <http://rspec.info>
* <http://rubyforge.org/projects/rspec>
* <http://github.com/dchelimsky/rspec/wikis>
* <removed_email_address@domain.invalid>
This topic is locked and can not be replied to.