Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
hopsoft committed Jun 12, 2024
1 parent 9cf43a1 commit d4e11e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions lib/turbo_boost/commands/token_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,4 @@ def valid_token?(token)
# TODO: Update to use Rails' public API
controller.send :valid_authenticity_token?, session, token
end

def token_name
Rails.application.config.action_controller.request_forgery_protection_token ||
ActionController::RequestForgeryProtection::CSRF_TOKEN
end
end
6 changes: 3 additions & 3 deletions test/application_system_test_case.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# frozen_string_literal: true

require "capybara-playwright-driver"
require "timeout"
require "test_helper"
require "capybara-playwright-driver"

Capybara.default_max_wait_time = 60
Capybara.default_retry_interval = 10
Capybara.default_max_wait_time = 10
Capybara.default_retry_interval = 2
Capybara.default_normalize_ws = true
Capybara.save_path = "tmp/capybara"

Expand Down
2 changes: 1 addition & 1 deletion turbo_boost-commands.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ Gem::Specification.new do |s|
s.required_ruby_version = ">= 3.0"

s.add_dependency "device_detector", ">= 1.0"
s.add_dependency "observer"
s.add_dependency "rails", ">= 6.1"
s.add_dependency "turbo-rails", ">= 1.1"
s.add_dependency "turbo_boost-streams", ">= 0.1.11"
s.add_dependency "universalid", ">= 0.1.7"
s.add_dependency "observer"

s.add_development_dependency "amazing_print"
s.add_development_dependency "capybara"
Expand Down

0 comments on commit d4e11e6

Please sign in to comment.