Skip to content
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #34 from y-yagi/fix_ruby_warning
Browse files Browse the repository at this point in the history
Fix "warning: assigned but unused variable - visit_action"
  • Loading branch information
rafaelfranca authored Jan 22, 2018
2 parents 914db1a + c1f0973 commit 2cf8ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/turbolinks/assertions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def assert_turbolinks_visited(options = {}, message = nil)
assert_response(:ok, message)
assert_equal("text/javascript", response.content_type)

visit_location, visit_action = turbolinks_visit_location_and_action
visit_location, _ = turbolinks_visit_location_and_action

redirect_is = normalize_argument_to_redirection(visit_location)
redirect_expected = normalize_argument_to_redirection(options)
Expand Down

0 comments on commit 2cf8ef3

Please sign in to comment.