Sha256: 7f09814595d0c3032d5a619d3908841d1c5355c30588e0cb538dcedb18cedc54
Contents?: true
Size: 548 Bytes
Versions: 46
Compression:
Stored size: 548 Bytes
Contents
require 'test_helper' class WelcomeControllerTest < ActionDispatch::IntegrationTest # 2017-08-03: root path should be changeable by actual app. remove jumbotron check and instead do some link checks that should always be present. test 'should get root_path' do get root_path assert_response :success assert_select 'title', full_title assert_select 'a[href=?]', main_app.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
46 entries across 46 versions & 1 rubygems