Rspec-core: Generating spec_helper.rb from rspec?

Created on 10 Nov 2011  ·  3Comments  ·  Source: rspec/rspec-core

Is there any way to generate a spec_helper.rb for a Ruby project? I was expecting some rake tasks for setting up a Ruby project to use RSpec.

Most helpful comment

rspec --init

All 3 comments

If you are using Rails, just run rails generate rspec:install. Otherwise, this is a duplicate of #430

I'm not using Rails just Ruby.

rspec --init

Was this page helpful?
0 / 5 - 0 ratings