joshmfrankel / joshmfrankel.github.io

Blog and Personal site
http://joshfrankel.me
MIT License
2 stars 1 forks source link

Testing Turbo within RSpec Request specs #72

Open joshmfrankel opened 1 year ago

joshmfrankel commented 1 year ago

Turbo stream patch endpoint, as: :turbo_stream

Turbo Frame Request patch endpoint, headers: { "Turbo-Frame" => "something" }

https://github.com/hotwired/turbo-rails/blob/097d8f90cf0c5ed24ac6b1a49cead73d49fa8ab5/app/controllers/turbo/frames/frame_request.rb#L35C31-L35C31