Administrateur: do not save api_token in clear text anymore
This commit is contained in:
parent
16566b46c0
commit
88f7e888c3
3 changed files with 7 additions and 14 deletions
|
@ -1,8 +1,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe 'admin/gestionnaires/index.html.haml', type: :view do
|
||||
let(:token) { 'super_token' }
|
||||
let(:admin) { create(:administrateur, api_token: token) }
|
||||
let(:admin) { create(:administrateur) }
|
||||
|
||||
before do
|
||||
assign(:gestionnaires, (smart_listing_create :gestionnaires,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue