require_relative '../test_helper'

class PublicHelperTest < ActiveSupport::TestCase
  YMP_URL = 'http://example.com/ymp'.freeze
  include PublicHelper

  def test_ymp_url
    assert_equal "#{YMP_URL}/foo", ymp_url('foo')
    assert_equal "#{YMP_URL}/", ymp_url('')
  end
end
