Skip to content

Commit

Permalink
Remove warning about unused variable
Browse files Browse the repository at this point in the history
Previously, we had this warning in CI:

  /home/circleci/project/test/custom_request_test.rb:73: warning: assigned but unused variable - primary_endpoint
  • Loading branch information
Nick Campbell authored and balvig committed Jan 6, 2022
1 parent 15aad61 commit c446ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/custom_request_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_multiple_apis

def test_multiple_apis_with_custom_fallback
fallback_endpoint = stub_request(:get, 'http://sushi.com/recipes')
primary_endpoint = stub_request(:get, 'http://sashimi.com/recipes').to_timeout
_primary_endpoint = stub_request(:get, 'http://sashimi.com/recipes').to_timeout
OtherRecipe.all.to_a
assert_requested fallback_endpoint
end
Expand Down

0 comments on commit c446ecf

Please sign in to comment.