Create application to manage go-resto
- Add food to resto menu
- See the list of food in resto menu
- Edit food in resto menu
- Ruby 2.6.5p114
- Rails 6.0.2.2
bundle install
rails server
- rspec - for testing
- factory_bot
- faker - generates fake data
- capybara - helps you test web applications (views)
- spring - application preloader
- shoulda-matchers - one-liners to test
- database_cleaner - ensure a clean state during tests
Start with bundle install
On command line rake db:drop db:create db:migrate db:seed db:test:prepare
On terminal run rails server
- run
bundle exec rspec
- for spesific file :
rspec spec/****/****_spec.rb