<commit_before>require 'spec_helper'
require_relative '../../app/helpers/menu_helper.rb'
require_relative '../../app/helpers/place_helper.rb'

describe MenuHelper do
  it 'should include MenuHelper' do
   	should be MenuHelper
  end
end

describe PlaceHelper do
  it 'should include PlaceHelper' do
   	should be PlaceHelper
  end
end<commit_msg>update fwmenu_spec<commit_after>require 'spec_helper'

describe "MenuHelper", type: :generator do
  it 'should have get_menus_for function' do
   	assert_file "./app/helpers/menu_helper.rb" do |helper|
		  assert_instance_method :get_menus_for, helper do |get_menus_for|
		    assert_match(/Menu\.includes/, get_menus_for)
		  end
		end
  end
end

describe "PlaceHelper", type: :generator do
  it 'should have get_content_for function' do
   	assert_file "./app/helpers/place_helper.rb" do |helper|
		  assert_instance_method :get_content_for, helper do |get_content_for|
		    assert_match(/Place\.where/, get_content_for)
		  end
		end
  end
end
{'fraction_non_alphanumeric': 0.09063444108761329, 'fraction_numerical': 0.0, 'mean_word_length': 4.231578947368421, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6504167', 'n_tokens_mistral': 338, 'n_tokens_neox': 323, 'n_words': 86}