Sha256: 9706293397ea4dc602b70c0c309fba5f1486f2051a7819ace8090de554ef6981

Contents?: true

Size: 423 Bytes

Versions: 2

Compression:

Stored size: 423 Bytes

Contents

require 'test_helper'

class WelcomeControllerTest < ActionDispatch::IntegrationTest

  test 'should get root_path' do
    get root_path
    assert_response :success
    assert_select 'title', full_title
    assert_select 'div.jumbotron'
    assert_select 'a[href=?]', root_path, count: 2
    assert_select 'a[href=?]', incline.login_path, count: 1
    assert_select 'a[href=?]', incline.contact_path, count: 1
  end


end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
incline-0.1.7 test/controllers/incline/welcome_controller_test.rb
incline-0.1.5 test/controllers/incline/welcome_controller_test.rb