- Updated single quotes to double quotes for consistency - Adjusted spacing in array definitions for better readability - Ensured consistent use of quotes in flash messages and method parameters These changes enhance the overall code style without altering any functionality.
16 lines
395 B
Ruby
16 lines
395 B
Ruby
require "test_helper"
|
|
|
|
class SiteLayoutTest < ActionDispatch::IntegrationTest
|
|
# test "the truth" do
|
|
# assert true
|
|
# end
|
|
test "layout links" do
|
|
get root_path
|
|
assert_template "static_pages/home"
|
|
assert_select "a[href=?]", root_url, count: 2
|
|
assert_select "a[href=?]", about_url
|
|
assert_select "a[href=?]", help_url
|
|
assert_select "a[href=?]", contact_url
|
|
end
|
|
end
|