Add code to goal title
The same way it's done in UN official SDG pages.
This commit is contained in:
@@ -47,7 +47,7 @@ describe "SDG Goals", :js do
|
||||
scenario "shows the SDG and its related content" do
|
||||
visit sdg_goal_path(15)
|
||||
|
||||
within(".sdg-goal header") { expect(page).to have_content "LIFE ON LAND" }
|
||||
within(".sdg-goal header") { expect(page).to have_content "15 LIFE ON LAND" }
|
||||
|
||||
within ".feed-proposals" do
|
||||
expect(page).to have_content "Animal farm"
|
||||
|
||||
Reference in New Issue
Block a user