recipes/saas.rb in rails_apps_composer-2.2.18 vs recipes/saas.rb in rails_apps_composer-2.2.19
- old
+ new
@@ -25,13 +25,17 @@
git :commit => '-qm "rails_apps_composer: clean up starter app"' if prefer :git, true
# >-------------------------------[ Cucumber ]--------------------------------<
say_wizard "copying Cucumber scenarios from the rails-stripe-membership-saas examples"
remove_file 'features/users/user_show.feature'
+ copy_from_repo 'features/support/paths.rb', :repo => repo
copy_from_repo 'features/users/sign_in.feature', :repo => repo
copy_from_repo 'features/users/sign_up.feature', :repo => repo
- copy_from_repo 'features/step_definitions/user_steps.rb', :repo => repo
+ copy_from_repo 'features/users/sign_up_with_stripe.feature', :repo => repo
+ copy_from_repo 'features/users/user_edit.feature', :repo => repo
+ copy_from_repo 'features/step_definitions/user_steps.rb', :repo => repo
+ copy_from_repo 'features/step_definitions/form_helper_steps.rb', :repo => repo
copy_from_repo 'config/locales/devise.en.yml', :repo => repo
# >-------------------------------[ Models ]--------------------------------<
copy_from_repo 'app/models/ability.rb', :repo => repo
copy_from_repo 'app/models/user.rb', :repo => repo
@@ -80,12 +84,14 @@
copy_from_repo 'app/assets/stylesheets/application.css.scss', :repo => repo
copy_from_repo 'app/assets/stylesheets/pricing.css.scss', :repo => repo
# >-------------------------------[ RSpec ]--------------------------------<
say_wizard "copying RSpec tests from the rails-stripe-membership-saas examples"
+ copy_from_repo 'spec/factories/roles.rb', :repo => repo
copy_from_repo 'spec/models/user_spec.rb', :repo => repo
copy_from_repo 'spec/controllers/content_controller_spec.rb', :repo => repo
copy_from_repo 'spec/mailers/user_mailer_spec.rb', :repo => repo
+ copy_from_repo 'spec/stripe/stripe_config_spec.rb', :repo => repo
### GIT ###
git :add => '-A' if prefer :git, true
git :commit => '-qm "rails_apps_composer: membership app"' if prefer :git, true
end # after_bundler