-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtesting_notes
37 lines (17 loc) · 928 Bytes
/
testing_notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
https://stackoverflow.com/questions/14044160/what-is-the-route-helper-for-rails-update-action
sudo docker-compose run api rake db:migrate
docker-compose up --build api
rails s
docker-compose up
docker-compose down
sudo docker-compose run api rails routes
docker-compose run api bundle exec rake db:migrate
sudo rm tmp/pids/server.pid
sudo docker-compose run api bundle install
bundle exec rspec spec/services/users/destroy_spec.rb
sudo docker-compose run api bundle exec rspec spec/services/users/destroy_spec.rb
sudo docker-compose run api bin/rails db:migrate RAILS_ENV=test
sudo docker-compose run api bundle exec rspec spec/services/users/update_spec.rb
sudo docker-compose run api bundle exec rspec spec/services/users/index_spec.rb
sudo docker-compose run api bundle exec rspec spec/services/users/destroy_spec.rb
sudo docker-compose run api bundle exec rspec spec/controllers/users_controller_spec.rb