# Rspec-2.0.0.beta.22 has been released!

**URL:** <https://www.ruby-forum.com/t/rspec-2-0-0-beta-22-has-been-released/194885>\
**Category:** Ruby\
**Created:** [September 13, 2010, 4:24am UTC](https://www.ruby-forum.com/t/rspec-2-0-0-beta-22-has-been-released/194885 "2010-09-13T04:24:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![crucoba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Post date:** [September 13, 2010, 4:24am UTC](https://www.ruby-forum.com/t/rspec-2-0-0-beta-22-has-been-released/194885/1 "2010-09-13T04:24:31Z")

</div>

rspec-2.0.0.beta.22 has been released!

We’re getting very close to a 2.0 release candidate, so if you’re not  
already using rspec-2 (with or without rails-3), now is the time to  
start. I need your feedback, so from here on in I’ll be sending out  
announcements and release notes for each beta release.

As for rspec-2 with rails-2, there are a few efforts underway to make  
that work, but that will be in the form of a separate gem and our  
priority is getting rspec-2 out the door.

Please report issues or submit pull requests (yes, pull requests are  
fine now that github has integrated them so well with issues) to the  
appropriate repos:

> **[Issues · rspec/rspec-core](https://github.com/rspec/rspec-core/issues)**
>
> RSpec runner and formatters. Contribute to rspec/rspec-core development by creating an account on GitHub.

> **[Issues · rspec/rspec-expectations](https://github.com/rspec/rspec-expectations/issues)**
>
> Provides a readable API to express expected outcomes of a code example - Issues · rspec/rspec-expectations

> **[Issues · rspec/rspec-mocks](https://github.com/rspec/rspec-mocks/issues)**
>
> RSpec's 'test double' framework, with support for stubbing and mocking - Issues · rspec/rspec-mocks

> **[Issues · rspec/rspec-rails](https://github.com/rspec/rspec-rails/issues)**
>
> RSpec for Rails 5+. Contribute to rspec/rspec-rails development by creating an account on GitHub.

Below are release notes for each gem in this beta release, drawn from  
the nascent History.md files in each project.

Thanks, and enjoy!  
David and the RSpec Development Team

==================================  
rspec-core-2.0.0.beta.22 / 2010-09-12

full changelog:

> **[Comparing v2.0.0.beta.20...v2.0.0.beta.22 · rspec/rspec-core](https://github.com/rspec/rspec-core/compare/v2.0.0.beta.20...v2.0.0.beta.22)**
>
> RSpec runner and formatters. Contribute to rspec/rspec-core development by creating an account on GitHub.

• Enhancements  
• removed at\_exit hook  
• CTRL-C stops the run (almost) immediately  
• first it cleans things up by running the appropriate after(:all)  
and after(:suite) hooks  
• then it reports on any examples that have already run  
• cleaned up rake task  
• generate correct task under variety of conditions  
• options are more consistent  
• deprecated redundant options  
• run ‘bundle exec autotest’ when Gemfile is present  
• support ERB in .rspec options files (Justin Ko)  
• depend on bundler for development tasks (Myron Marsten)  
• add example\_group\_finished to formatters and reporter (Roman  
Chernyatchik)

• Bug fixes  
• support paths with spaces when using autotest (Andreas Neuhaus)  
• fix module\_exec with ruby 1.8.6 (Myron Marsten)  
• remove context method from top-level  
• was conflicting with irb, for example  
• errors in before(:all) are now reported correctly (Chad H.)

# • Removals • removed -o --options-file command line option • use ./.rspec and ~/.rspec

rspec-expectations-2.0.0.beta.22 / 2010-09-12

full changelog:

> **[Comparing v2.0.0.beta.20...v2.0.0.beta.22 · rspec/rspec-expectations](https://github.com/rspec/rspec-expectations/compare/v2.0.0.beta.20...v2.0.0.beta.22)**
>
> Provides a readable API to express expected outcomes of a code example - Comparing v2.0.0.beta.20...v2.0.0.beta.22 · rspec/rspec-expectations

• Enhancements  
• diffing improvements  
• diff multiline strings  
• don’t diff single line strings  
• don’t diff numbers (silly)  
• diff regexp + multiline string

# • Bug fixes • should[\_not] change now handles boolean values correctly

rspec-mocks-2.0.0.beta.22 / 2010-09-12

full changelog:

> **[Comparing v2.0.0.beta.20...v2.0.0.beta.22 · rspec/rspec-mocks](https://github.com/rspec/rspec-mocks/compare/v2.0.0.beta.20...v2.0.0.beta.22)**
>
> RSpec's 'test double' framework, with support for stubbing and mocking - Comparing v2.0.0.beta.20...v2.0.0.beta.22 · rspec/rspec-mocks

# • Bug fixes • fixed regression that broke obj.stub\_chain(:a, :b =\> :c) • fixed regression that broke obj.stub\_chain(:a, :b) { :c } • respond\_to? always returns true when using as\_null\_object

2.0.0.beta.22 / 2010-09-12

full changelog:

> **[Comparing v2.0.0.beta.20...v2.0.0.beta.22 · rspec/rspec-rails](https://github.com/rspec/rspec-rails/compare/v2.0.0.beta.20...v2.0.0.beta.22)**
>
> RSpec for Rails 5+. Contribute to rspec/rspec-rails development by creating an account on GitHub.

• Enhancements  
• autotest mapping improvements (Andreas Neuhaus)

# • Bug fixes • delegate flunk to assertion delegate

---

<div class="post-metadata">

**Author:** ![crucoba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Post date:** [September 13, 2010, 5:03am UTC](https://www.ruby-forum.com/t/rspec-2-0-0-beta-22-has-been-released/194885/2 "2010-09-13T05:03:43Z")

</div>

Thank you David and all 🙂

You make my coding life easier.

Mikel
