Skip to content

Commit

Permalink
only generate gem config for rspec-rails
Browse files Browse the repository at this point in the history
- it depends on rspec, so there is no need
  to have to manage that dependency twice

[#940 state:resolved milestone:'Next Release']
  • Loading branch information
dchelimsky committed Jan 13, 2010
1 parent f3c3d5b commit 2f80d92
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion generators/rspec/rspec_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def initialize(runtime_args, runtime_options = {})
puts
require File.expand_path('../../../lib/spec/rails/version.rb', __FILE__)
rspec_config = <<-EOF
config.gem 'rspec', :version => '>= #{Spec::Rails::VERSION::STRING}', :lib => false unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec'))
config.gem 'rspec-rails', :version => '>= #{Spec::Rails::VERSION::STRING}', :lib => false unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec-rails'))
EOF
File.open(test_env, "wb") do |f|
Expand Down

0 comments on commit 2f80d92

Please sign in to comment.