[rspec-users] [ANN] RSpec 0.9.1 released
chris.c.hoffman at gmail.com
Tue May 1 08:09:10 EDT 2007
I am currently on the HEAD of the svn repository, and I am trying to
run the spec_translator. I chmod'd, shabanged, and tried to execute
./vendor/plugins/rspec/bin/spec_translator spec spec
And got the following response:
: No such file or directory
I should note that I'm doing this within a rails directory tree. Is
there something I'm missing? Thanks.
On 5/1/07, aslak hellesoy <aslak.hellesoy at gmail.com> wrote:
> The RSpec team is pleased to announce RSpec 0.9.1 (we skipped 0.9.0).
> RSpec is a framework that provides programmers with a Domain Specific
> Language to describe the behaviour of Ruby code with readable,
> executable examples that guide you in the
> design process and serve well as both documentation as tests.
> This release includes a complete overhaul of the API, which can be
> summarised as follows:
> * "context" is now "describe" (we call the blocks behaviours)
> * "specify" is now "it" (we call the blocks examples)
> * "should_something" is now "should something" (magic underscores are gone)
> In order to ease the transition from older specs, RSpec also includes
> a translator that will translate your old specs.
> In addition to these major changes, this release has over 60 applied
> RFEs and bug fixes, many of them related to Spec::Rails - the Ruby on
> Rails plugin for RSpec.
> To install RSpec:
> gem install rspec (you may have to wait a few hours for the gems to replicate)
> To translate old specs:
> spec_translator from_dir to_dir (can be the same dir if you use
> source control and know how to revert)
> To see the full list of changes:
> The RSpec home page:
> How to use RSpec with Rails:
> [Regards, The RSpec team]
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users