This is a specific crm project.
- There is a sample .rspec file in .rspec.example, you should copy it to .rspec if you don't have one yet.
- To use capybara power on acceptance tests, check out this cheat sheet
- On acceptance/features tests, you can use
save_and_open_page
to open the current tested page on your browser. This gem does the trick: launchy - After creating models and execute the migrations, run:
annotate --exclude tests,fixtures,factories -p after
- Always keep seeds file updated when adding new ActiveRecord models
- Use rails c --sandbox to use console and not save any register(rollback on exit)
VERSION 1:
- Nothing to do here, yay !
VERSION 2:
- Add an export button on customers to generate a .xls file
- Add customer's details print version with button / link