Skip to content

Commit

Permalink
move rspec:install to separate template (in spec suite)
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Mar 8, 2010
1 parent 02894f1 commit 6ac6845
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions example_app_template.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
$LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
require 'rspec/rails/version'
# This needs to be installed on the system, as well as all of its rspec-2 deps
# - would be nicer if we could source them from the <repo>/pkg dirs
gem 'rspec-rails', :path => File.expand_path('../../../', __FILE__)

generate('rspec:install')
gem 'rspec-rails', :path => File.expand_path('../../../', __FILE__)

1 change: 1 addition & 0 deletions templates/generate_stuff.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
generate('rspec:install')
generate('controller wombats index')
generate('integration_test widgets')
generate('mailer Notifications signup')
Expand Down

0 comments on commit 6ac6845

Please sign in to comment.