Files
nairobi/spec/system/sdg_management/goals_spec.rb
Senén Rodero Rodríguez cbe84450ac Add Goals seeds and translations
Extracted from the official United Nations Sustainable Development
Goals website [1].

[1] https://www.un.org/sustainabledevelopment/sustainable-development-goals/
2020-12-02 12:38:03 +01:00

19 lines
416 B
Ruby

require "rails_helper"
describe "Goals", :js do
before { login_as(create(:administrator).user) }
describe "Index" do
scenario "Visit the index" do
visit sdg_management_root_path
within("#side_menu") do
click_link "Goals and Targets"
end
expect(page).to have_title "SDG content - Goals"
within("table") { expect(page).to have_content "No Poverty" }
end
end
end