recipes/capybara.rb in rails_apps_composer-1.4.6 vs recipes/capybara.rb in rails_apps_composer-1.4.7
- old
+ new
@@ -1,5 +1,5 @@
-gem 'capybara', :group => [:development, :test] unless config['cucumber']
+gem 'capybara', :group => [:development, :test] unless recipes.include? 'cucumber'
after_bundler do
create_file "spec/support/capybara.rb", <<-RUBY
require 'capybara/rails'
require 'capybara/rspec'