spec/user_spec.rb in soteria-1.0.3 vs spec/user_spec.rb in soteria-1.0.4
- old
+ new
@@ -91,10 +91,9 @@
it 'gets the body with a friendly name and otp' do
options = {name: 'testCredential', otp: '123456'}
result_hash = @user.get_add_credential_message('user1', 'credential', 'STANDARD_OTP', options)
- # TODO: this is a hack until we mock the utilities class to set the request id
result_hash[:'vip:requestId'] = nil
expected_hash = {
'vip:requestId': nil,
'vip:userId': 'user1',