Add tests of controllers

This commit is contained in:
riggraz
2019-09-04 17:37:08 +02:00
parent 542bbcfb85
commit 2a42d3069c
7 changed files with 152 additions and 17 deletions

View File

@@ -13,8 +13,6 @@ Rails.application.routes.draw do
devise_for :users
resources :boards, only: [:show]
post '/posts', to: 'posts#create'
get '/posts', to: 'posts#index_by_board_id'
get '/post_statuses', to: 'post_statuses#index'
resources :posts, only: [:index, :create]
resources :post_statuses, only: [:index]
end