Add statistiques API for dashboard
This commit is contained in:
parent
3e62dd01fb
commit
9c1268fdd5
4 changed files with 36 additions and 0 deletions
12
spec/controllers/api/statistiques_spec.rb
Normal file
12
spec/controllers/api/statistiques_spec.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe API::StatistiquesController, type: :controller do
|
||||
describe '#GET dossiers_stats' do
|
||||
|
||||
before do
|
||||
get :dossiers_stats
|
||||
end
|
||||
|
||||
it { expect(response.status).to eq 200 }
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue