Found one.I now use this one :RSpec.describe Admin do
it { is_expected.to respond_to(:name) }
it { is_expected.to respond_to(:password) }
it { is_expected.not_to respond_to(:to_model) }
it { is_expected.not_to respond_to(:compact, :flatten) }
endbut then I see this error message : uninitialized constant Admin (NameError)Does Devise not make the controller because I do not see any controller made by Devise.Roelof