recipes/tests4.rb in rails_apps_composer-2.5.1 vs recipes/tests4.rb in rails_apps_composer-2.6.0
- old
+ new
@@ -18,10 +18,10 @@
git :commit => '-qm "rails_apps_composer: testing framework"' if prefer :git, true
end # after_bundler
after_everything do
say_wizard "recipe running after everything"
- if prefer :authentication, 'devise'
+ if (prefer :authentication, 'devise') && (prefer :tests, 'rspec')
generate 'testing:configure devise -f'
end
end # after_everything
__END__