[rspec-users] rspec-2.0.0.rc is released
dchelimsky at gmail.com
Tue Oct 5 11:59:31 EDT 2010
On Oct 5, 2010, at 9:34 AM, Chuck Remes wrote:
> On Oct 4, 2010, at 11:47 PM, David Chelimsky wrote:
>> rspec-2.0.0.rc is released!
>> See http://blog.davidchelimsky.net/2010/07/01/rspec-2-documentation/ for links to all sorts of documentation on rspec-2.
>> Plan is to release rspec-2.0.0 (final) within the next week, so please install, upgrade, etc, and report issues to:
> Is there any coordination with the authors of jeweler, bones, etc. so that the Rake files those tools generate can be updated to rspec2 compatibility?
Not yet. If any of them reach out to me I'll be glad to do what I can.
> Speaking of which, the Upgrade.markdown didn't include enough information to get my existing Rakefile (created by bones) working. I'm including the changes I had to make in this email so other folks searching the ML will find it.
> require 'spec/rake/spectask'
> Spec::Rake::SpecTask.new do |t|
> t.spec_opts = ['--options', "\"spec/spec.opts\""]
> t.spec_files = FileList['spec/**/*.rb']
> For rspec2 compatibility:
> require 'rspec/core/rake_task'
> RSpec::Core::RakeTask.new do |t|
> t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]
> t.pattern = 'spec/**/*_spec.rb'
I'll update the upgrade file. Thx.
> Also, as mentioned in the Upgrade.markdown file, I had to modify my spec_helper.rb to use Rspec.configure instead of the original Spec::Runner.configure syntax.
> rspec-users mailing list
> rspec-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users