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

Related issues

jfelchner picture jfelchner  路  3Comments

take picture take  路  5Comments

andyl picture andyl  路  6Comments

ankit8898 picture ankit8898  路  3Comments

alexcoplan picture alexcoplan  路  3Comments