[ANN] rspec 1.2.5 Released

rspec version 1.2.5 has been released!

Behaviour Driven Development for Ruby.


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
    • expect { this_block }.to raise_error
    • better failiure messages for equal matcher (James B.). Closes
    • 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
      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
        implementations like JRuby
    • fix bug where in some circumstances, loading
      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

  • [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs