<commit_before>require 'helper'

describe Yotpo::OwnerFeatureSetting do

  describe '#get_feature_settings' do
    before(:all) do
      get_settings_params = {
          utoken: @utoken,
          feature_id: 11,
          owner_ids: [300]
      }
      VCR.use_cassette('get_feature_settings') do
        @response = Yotpo.get_feature_settings(get_settings_params)
      end
    end

    subject { @response.body['300'] }
    it { should be_a ::Hashie::Mash }
    it { should respond_to :font_size }
  end

  describe '#mass_update_feature_settings' do
    before(:all) do
      feature_update_params = {
          utoken: @utoken,
          settings: { 'font_size': '12' },
          feature_id: 11,
          owner_id: 7<commit_msg>fix test for travis<commit_after>require 'helper'

describe Yotpo::OwnerFeatureSetting do

  describe '#get_feature_settings' do
    before(:all) do
      get_settings_params = {
          utoken: @utoken,
          feature_id: 11,
          owner_ids: [300]
      }
      VCR.use_cassette('get_feature_settings') do
        @response = Yotpo.get_feature_settings(get_settings_params)
      end
    end

    subject { @response.body['300'] }
    it { should be_a ::Hashie::Mash }
    it { should respond_to :font_size }
  end

  describe '#mass_update_feature_settings' do
    before(:all) do
      feature_update_params = {
          utoken: @utoken,
          settings: { font_size: '12' },
          feature_id: 11,
          owner_id: 7
{'fraction_non_alphanumeric': 0.0989159891598916, 'fraction_numerical': 0.017615176151761516, 'mean_word_length': 2.5334928229665072, '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': '6631508', 'n_tokens_mistral': 500, 'n_tokens_neox': 471, 'n_words': 100}