Adjust ajax answer controller spec

This commit is contained in:
Andreas Nedbal 2024-03-01 20:54:14 +01:00 committed by Andreas Nedbal
parent 507c27da06
commit 50e0a645fe
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ describe Ajax::AnswerController, :ajax_controller, type: :controller do
"url" => a_string_matching("https://#{APP_CONFIG['hostname']}/"), "url" => a_string_matching("https://#{APP_CONFIG['hostname']}/"),
"text" => a_string_matching("Werfen Sie nicht länger das Fenster zum Geld hinaus!"), "text" => a_string_matching("Werfen Sie nicht länger das Fenster zum Geld hinaus!"),
"twitter" => a_string_matching("https://twitter.com/"), "twitter" => a_string_matching("https://twitter.com/"),
"bluesky" => a_string_matching("https://bsky.app/"),
"tumblr" => a_string_matching("https://www.tumblr.com/"), "tumblr" => a_string_matching("https://www.tumblr.com/"),
"telegram" => a_string_matching("https://t.me/"), "telegram" => a_string_matching("https://t.me/"),
"custom" => a_string_matching(/Werfen\+Sie\+nicht\+l%C3%A4nger\+das\+Fenster\+zum\+Geld\+hinaus%21/), "custom" => a_string_matching(/Werfen\+Sie\+nicht\+l%C3%A4nger\+das\+Fenster\+zum\+Geld\+hinaus%21/),