begin spec client france connect service
This commit is contained in:
parent
5cb8f92a81
commit
20cae835e6
5 changed files with 22 additions and 18 deletions
|
@ -9,7 +9,7 @@ describe FranceConnectClient do
|
|||
let(:code) { 'plop' }
|
||||
subject { described_class.new(code: code) }
|
||||
it 'set authorisation code' do
|
||||
expect_any_instance_of(described_class).to receive(:authorization_code=)
|
||||
expect_any_instance_of(described_class).to receive(:authorization_code=).with(code)
|
||||
described_class.new(code: code)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue