require 'test_helper'

class PagesControllerTest < ActionController::TestCase
  def setup
    @base_title = "Perchons"
  end

  test "should get intro" do
    get :intro
    assert_response :success
    assert_select 'title', "Comment participer ? - #{@base_title}"
  end

  test "should get mentions" do
    get :mentions
    assert_response :success
    assert_select 'title', "Mentions légales - #{@base_title}"
  end

end

require 'test_helper'

class PagesControllerTest < ActionController::TestCase
  def setup
    @base_title = "Perchons"
  end

  test "should get mentions" do
    get :mentions
    assert_response :success
    assert_select 'title', "Mentions légales - #{@base_title}"
  end

end

Fix - Nettoie le test sur la page d'intro
Fix - Nettoie le test sur la page d'intro
