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

View File

@@ -43,6 +43,13 @@ feature "Admin custom information texts" do
click_link 'Welcome' click_link 'Welcome'
expect(page).to have_content 'See all debates' expect(page).to have_content 'See all debates'
end 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 context "Globalization" do