Skip to content

Commit

Permalink
be smarter on faraday versions
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Jan 17, 2024
1 parent 465ccc0 commit b795d3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/support/webmock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def setup
'Content-Type' => 'application/json',
'Cookie' => '',
'Https' => 'off',
'User-Agent' => 'Faraday v2.7.11',
'User-Agent' => /Faraday/,
}
)
.to_return(status: 200, body: mock_statedecoded_body, headers: {})
Expand All @@ -94,7 +94,7 @@ def setup
'Content-Type' => 'application/json',
'Cookie' => '',
'Https' => 'off',
'User-Agent' => 'Faraday v2.7.11',
'User-Agent' => /Faraday/,
}
)
.to_return(status: 200, body: mock_statedecoded_body, headers: {})
Expand All @@ -107,7 +107,7 @@ def setup
'Content-Type' => 'application/json',
'Cookie' => '',
'Https' => 'off',
'User-Agent' => 'Faraday v2.7.11',
'User-Agent' => /Faraday/,
}
)
.to_return(status: 200, body: mock_statedecoded_body, headers: {})
Expand Down

0 comments on commit b795d3e

Please sign in to comment.