require_relative '../acceptance_helper'

class StaticPageTest < AcceptanceTestCase
  def test_homepage_exists
    visit '/'

    assert page.has_content?('exercism')
  end

  def test_about_exists
    visit '/about'

    assert page.has_content?('About Exercism')
  end
end

require_relative '../acceptance_helper'

class StaticPageTest < AcceptanceTestCase
  def test_homepage_exists
    visit '/'

    assert_content 'exercism'
  end

  def test_about_exists
    visit '/'
    click_on 'About'

    assert_content 'About Exercism'
  end

  def test_getting_started_exists
    visit '/'
    click_on 'Getting Started'

    assert_content 'Exercises'
    assert_content 'Nitpicking'
  end

  def test_help_exists
    visit '/'
    click_on 'Help'

    assert_content 'Available Help Topics'
  end
end

Add more static page tests
Add more static page tests
