sample_rails_tailwind/test/helpers/application_helper_test.rb
2024-12-31 00:37:02 +08:00

8 lines
264 B
Ruby

require 'test_helper'
class ApplicationHelperTest < ActionView::TestCase
test "full title helper" do
assert_equal full_title, "Ruby on Rails Tutorial Sample App"
assert_equal full_title("Contact"), "Contact | Ruby on Rails Tutorial Sample App"
end
end