[rspec-users] How to consolidate old_project/test/* with new_project/spec/*?

David Chelimsky dchelimsky at gmail.com
Wed Aug 6 19:05:35 EDT 2008


On Wed, Aug 6, 2008 at 8:57 AM, Redd Vinylene <reddvinylene at gmail.com> wrote:
> Hello everybody:)
>
> I'm new to this, but how should I go about consolidating
> old_project/test/* with new_project/spec/*?
>
> Here is the contents of my old_project/test/* -- http://pastie.org/248453
>
> Would I have to rewrite everything?

In your test_helper.rb file, require 'spec' after requiring
'test/unit' and rspec will run your tests for you.

Cheers,
David

>
> Many thanks!
>
> --
> http://www.home.no/reddvinylene
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list