Rspec testing - SoftwareEngineeringGroupProject/SEGP1B-Cluster3 GitHub Wiki

  1. Make sure all testing gems are installed & updated: 'bundle install'

  2. Set up database and testing environment: 'rake db:migrate RAILS_ENV=test'

  3. Execute rspec testing files: 'bundle exec rspec [folder_path_of_test]'

for example: 'bundle exec rspec spec/features' will run all rspec files from spec/features folder.