How to run tests integration tests bundle exec rake spec:integration unit tests bundle exec rake spec:unit all tests bundle exec rake spec