This commit is contained in:
Papaya Labs
2018-09-24 20:38:42 +02:00
parent 981281591e
commit 45da512ce9

View File

@@ -44,6 +44,13 @@ feature "Admin custom information texts" do
expect(page).to have_content 'See all debates'
end
scenario 'check that tabs are highlight when click it' do
visit admin_site_customization_information_texts_path
click_link 'Proposals'
expect(find("a[href=\"/admin/site_customization/information_texts?tab=proposals\"].is-active")).to have_content "Proposals"
end
context "Globalization" do
scenario "Add a translation", :js do