[rspec-users] migration question

Myron Marston myron.marston at gmail.com
Mon Aug 2 22:33:19 EDT 2010


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


On Aug 2, 6:09 am, David Chelimsky <dchelim... at gmail.com> wrote:
> 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
>
> > -r
> > _______________________________________________
> > rspec-users mailing list
> > rspec-us... at rubyforge.org
> >http://rubyforge.org/mailman/listinfo/rspec-users
>
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list