<commit_before>require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'test_helper'))

# is this an appropriate way of testing a module?
class Dummy
  include Vertebrae::Generators::ResourceHelpers
end

class ResourceHelpersTest < MiniTest::Unit::TestCase

  def setup
    @helpers = Dummy.new
  end

	def test_app_name_should_have_a_method_javascripts_path
    assert @helpers.respond_to?(:javascripts_path)
  end

  def test_javascripts_path_should_return_a_string
    assert_kind_of String, @helpers.javascripts_path
  end

end<commit_msg>Fixed typo, added question. [skip ci]<commit_after>require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'test_helper'))

# is this an appropriate way of testing a module?
class Dummy
  include Vertebrae::Generators::ResourceHelpers
end

class ResourceHelpersTest < MiniTest::Unit::TestCase

  def setup
    @helpers = Dummy.new
  end

  # #javascripts_path

  # going to far?
	def test_should_have_a_method_javascripts_path
    assert @helpers.respond_to?(:javascripts_path)
  end

  def test_javascripts_path_should_return_a_string
    assert_kind_of String, @helpers.javascripts_path
  end

end
{'fraction_non_alphanumeric': 0.09628378378378379, 'fraction_numerical': 0.0, 'mean_word_length': 5.303191489361702, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5997037', 'n_tokens_mistral': 388, 'n_tokens_neox': 390, 'n_words': 82}