<commit_before>require 'rails_helper'
require 'vcr'

VCR.configure do |config|
  config.cassette_library_dir = 'fixtures/vcr_cassettes'
  config.hook_into :webmock
  config.default_cassette_options = {
    :match_requests_on => [:method,
      VCR.request_matchers.uri_without_param(:from_date, :to_date)]
  }
end

RSpec.describe SmaxtecApi do
    let(:smaxtec_api) { SmaxtecApi.new() }

  describe '.get_temperature' do
    it 'should read the current temperature of a specified animal from the Smaxtec API' do
      VCR.use_cassette('smaxtec_api', :record => :once) do<commit_msg>another try to fix the test<commit_after>require 'rails_helper'
require 'vcr'

VCR.configure do |config|
  config.cassette_library_dir = 'fixtures/vcr_cassettes'
  config.hook_into :webmock
  config.default_cassette_options = {
    :match_requests_on => [:method,
      VCR.request_matchers.uri_without_param(:from_date, :to_date, :email, :password)]
  }
end

RSpec.describe SmaxtecApi do
    let(:smaxtec_api) { SmaxtecApi.new() }

  describe '.get_temperature' do
    it 'should read the current temperature of a specified animal from the Smaxtec API' do
      VCR.use_cassette('smaxtec_api', :record => :once) do
{'fraction_non_alphanumeric': 0.10192147034252297, 'fraction_numerical': 0.0, 'mean_word_length': 4.815533980582524, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5154464', 'n_tokens_mistral': 437, 'n_tokens_neox': 419, 'n_words': 94}