Test file download dialog in Capybara/Rack::Test