We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef513bf commit e4cbf7bCopy full SHA for e4cbf7b
spec/spec_helper.rb
@@ -25,7 +25,7 @@ def replace_ssh_keys(response)
25
# Replace the contents of the token before writing to file.
26
def replace_token_contents(interaction)
27
data = JSON.parse(interaction.response.body, :symbolize_names => true)
28
- data.merge!({:refresh_token => 'REFRESH_TOKEN', :ims_user_id => '22222', :expiration => Date.new(2100, 1, 1).to_time.to_i})
+ data.merge!({:access_token => 'ACCESS_TOKEN', :refresh_token => 'REFRESH_TOKEN', :ims_user_id => '22222', :expiration => Date.new(2100, 1, 1).to_time.to_i})
29
interaction.response.body = data.to_json.force_encoding('ASCII-8BIT')
30
31
transient_headers = %w[].freeze
0 commit comments