template/suspenders.rb in suspenders-0.2.2 vs template/suspenders.rb in suspenders-0.2.3
- old
+ new
@@ -110,12 +110,12 @@
action_mailer_host "staging", "staging.#{app_name}.com"
action_mailer_host "production", "#{app_name}.com"
generate "rspec:install"
generate "cucumber:install", "--rspec --capybara"
-generate "clearance"
-generate "clearance_features"
+generate "clearance:install"
+generate "clearance:features"
create_file "public/stylesheets/sass/screen.scss"
create_file "public/stylesheets/screen.css"
copy_file "factory_girl_steps.rb", "features/step_definitions/factory_girl_steps.rb"
@@ -124,12 +124,9 @@
inject_into_file "features/support/env.rb",
%{Capybara.save_and_open_page_path = 'tmp'\n} +
%{Capybara.javascript_driver = :akephalos\n},
:before => %{Capybara.default_selector = :css}
-replace_in_file "features/support/env.rb",
- %r{require .*capybara_javascript_emulation.*},
- ''
rake "flutie:install"
say "Ignore the right files"