Migration question

Got this:

no such file to load – spec/rake/spectask

anybody know off hand what the equivalent is for rspec2?
-r

On Aug 2, 2010, at 7:46 AM, rogerdpack wrote:

Got this:

no such file to load – spec/rake/spectask

anybody know off hand what the equivalent is for rspec2?

rspec/core/rake_task

I’ll add that to Upgrade.markdown

On Aug 2, 2010, at 8:09 AM, David C. wrote:

I’ll add that to Upgrade.markdown

http://github.com/rspec/rspec-core/blob/master/Upgrade.markdown

This may be useful for folks migrating…

I recently updated one of my projects to RSpec 2. Here’s the commit
with all the changes:

Summary:

  • Updated rakefile so it defines new spec tasks
  • Migrated simple_matcher to RSpec::Matchers.define
  • Removed spec.opts
  • Require ‘rspec’ rather than ‘spec’
  • RSpec.configure rather than Spec::Runner.configure