1 require "application_system_test_case"
3 class EmbedTest < ApplicationSystemTestCase
4 test "shows localized report link" do
5 visit export_embed_path
6 assert_link "Report a problem"
10 class GermanEmbedTest < ApplicationSystemTestCase
11 driven_by :selenium, :using => :headless_firefox, :options => { :name => :selenium_de } do |options|
12 options.add_preference("intl.accept_languages", "de")
15 test "shows localized report link" do
16 visit export_embed_path
17 assert_link "Ein Problem melden"