<commit_before>require_relative './rest_shared_context'


describe "smoketest" do
  include_context "rest-context"
  it "redirects from root" do
    url = @servername
    response = RestClient.get url

    #ok so this is not the most elegant way of testing the redirect - but its ok for now
    expect(response).to include("<title>Be My Eyes - crowdsourced help for the blind</title>")
  end
  it "can get the logs" do
    url = "#{@servername_with_credentials}/log/"
    response = RestClient.get url
    expect(response.code).to eq(200)
  end
end<commit_msg>we changed the bemyeyes.org page<commit_after>require_relative './rest_shared_context'


describe "smoketest" do
  include_context "rest-context"
 it "can get the logs" do
    url = "#{@servername_with_credentials}/log/"
    response = RestClient.get url
    expect(response.code).to eq(200)
  end
end
{'fraction_non_alphanumeric': 0.0975609756097561, 'fraction_numerical': 0.006968641114982578, 'mean_word_length': 3.9257142857142857, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3186217', 'n_tokens_mistral': 279, 'n_tokens_neox': 268, 'n_words': 85}