<commit_before>require 'test_helper'

class TourControllerTest < ActionController::TestCase
  test "should get tour" do
    get :tour
    assert_response :success
  end
<commit_msg>Add tour_controller_test issue#18<commit_after>require 'test_helper'

class TourControllerTest < ActionController::TestCase
  test "should get tour" do
    post :tour
    jsondata = assigns(:jsonData)
    assert_not_nil jsondata
    assert_not_nil jsondata['results']['tour'][0]['title']
    # assert_response :success
  end

{'fraction_non_alphanumeric': 0.08695652173913043, 'fraction_numerical': 0.005928853754940711, 'mean_word_length': 5.2592592592592595, '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': '6600776', 'n_tokens_mistral': 152, 'n_tokens_neox': 150, 'n_words': 38}