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:

http://github.com/myronmarston/vcr/commit/f05cc59abc16b711e345bab2994ad2ebfdce7170

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

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